Skip to content

Instantly share code, notes, and snippets.

@dejl
Created September 6, 2012 05:14
Show Gist options
  • Save dejl/3651559 to your computer and use it in GitHub Desktop.
Save dejl/3651559 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby -wKU
require 'yaml'
class Test
def initialize name
@name = name
File.dirname __FILE__
puts File.exists? "test.rb"
test
end
def test
puts "name = " + @name
end
end
Test.new "daniel"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment