Module: Enel
- Defined in:
- lib/enel.rb,
lib/enel/version.rb
Constant Summary collapse
- VERSION =
'0.0.2'
Instance Method Summary collapse
Instance Method Details
#define_call_command(proc) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/enel.rb', line 4 def define_call_command(proc) no_commands do define_method(:call_command) { |*args|proc.call(*args) } end private :call_command define_each_commands end |