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(path = nil) ⇒ Object
23 24 25 26 |
# File 'lib/wakame/actor.rb', line 23 def map_path(path=nil) @map_path = path if path @map_path ||= Util.snake_case(self.to_s.split('::').last) end |