Module: Gamefic::Stage::ClassMethods
- Defined in:
- lib/gamefic/stage.rb
Instance Method Summary collapse
Instance Method Details
#expose(*args) ⇒ Object
57 58 59 60 61 |
# File 'lib/gamefic/stage.rb', line 57 def expose *args args.each { |a| exposed_methods[a] = nil } end |
#exposed_methods ⇒ Object
63 64 65 |
# File 'lib/gamefic/stage.rb', line 63 def exposed_methods @@exposed_methods ||= from_superclass(:exposed_methods, {}).dup end |
#mount(*args) ⇒ Object
50 51 52 53 54 55 |
# File 'lib/gamefic/stage.rb', line 50 def mount *args args.each { |a| include a mounted_modules[a] = nil } end |
#mounted_modules ⇒ Object
67 68 69 |
# File 'lib/gamefic/stage.rb', line 67 def mounted_modules @@mounted_modules ||= from_superclass(:mounted_modules, {}).dup end |