Skip to content

Instantly share code, notes, and snippets.

@oki
Created January 7, 2009 10:42
Show Gist options
  • Select an option

  • Save oki/44243 to your computer and use it in GitHub Desktop.

Select an option

Save oki/44243 to your computer and use it in GitHub Desktop.
#!/usr/local/bin/ruby
class Dupa
def initialize(param)
@param = param
end
def show
puts @param
end
end
a = "napis"
dupka_obj = Dupa.new(a)
dupka_obj.show
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment