box-o-sand/RubyFun/cookbook/preface/sample_ruby_file.rb

4 lines
96 B
Ruby
Raw Normal View History

1 + 2
Math.sqrt(1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10)
puts "This string is self-referential."