Skip to content

Instantly share code, notes, and snippets.

@oki
Created January 8, 2009 12:52
Show Gist options
  • Select an option

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

Select an option

Save oki/44717 to your computer and use it in GitHub Desktop.
class Dupa
class << self
attr_accessor :param
def show
puts @param
end
end
end
a = "napis"
Dupa.param = a
Dupa.show
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment