Class: Lite::Command::Simple

Inherits:
Object
  • Object
show all
Defined in:
lib/lite/command/simple.rb

Class Method Summary collapse

Class Method Details

.call(*args, **kwargs, &block) ⇒ Object



9
10
11
12
13
# File 'lib/lite/command/simple.rb', line 9

def call(*args, **kwargs, &block)
  raise Lite::Command::NotImplementedError unless defined?(execute)

  execute(*args, **kwargs, &block)
end