Skip to content

Instantly share code, notes, and snippets.

@ainame
Created August 26, 2013 15:58
Show Gist options
  • Save ainame/6343097 to your computer and use it in GitHub Desktop.
Save ainame/6343097 to your computer and use it in GitHub Desktop.
class HogeScreen < PM::Screen
@default_name = "fuba"
def self.name_accsessor
@default_name
end
def on_init
@name = self.class.name_accessor
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment