Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 559 Bytes

README.rdoc

File metadata and controls

25 lines (17 loc) · 559 Bytes

An example

example "adding two numbers together" do
  puts "1 + 5 = %s" % (1 + 5)
end

example "subtracting a number" do
  puts "5 - 1 = %s" % (5 - 1 )
end

This will produce:

Running example adding two numbers together...
1 + 5 = 6
Done running example adding two numbers together
Running example subtracting a number...
5 - 1 = 4
Done running example subtracting a number

See examples/ for more involved examples.

License and Copyright

All of the code is copyrighted by Google and is released under MIT license.