Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.203 kb
# code to test __FILE__ use
class Foo
def hello
puts "Hello World"
end
end
# This code gets called whenever we run run_class_test.rb
if __FILE__ == $PROGRAM_NAME
foo = Foo.new
foo.hello
end
Jump to Line
Something went wrong with that request. Please try again.