Module: Wakame::Actor::ClassMethods
- Defined in:
- lib/wakame/actor.rb
Instance Method Summary collapse
Instance Method Details
#expose(path, meth) ⇒ Object
18 19 20 21 |
# File 'lib/wakame/actor.rb', line 18 def expose(path, meth) @exposed ||= {} @exposed[path]=meth end |
#map_path ⇒ Object
23 24 25 |
# File 'lib/wakame/actor.rb', line 23 def map_path @map_path ||= Util.snake_case(self.to_s.split('::').last) end |
#map_path=(name) ⇒ Object
27 28 29 |
# File 'lib/wakame/actor.rb', line 27 def map_path=(name) @map_path=name end |