Module: Screengem::Executable

Extended by:
ActiveSupport::Concern
Included in:
Question, Task
Defined in:
lib/screengem/concerns/executable.rb

Overview

Concern for adding the command pattern.

Instance Method Summary collapse

Instance Method Details

#executeObject

Subclasses must implement an execute method.



11
12
13
# File 'lib/screengem/concerns/executable.rb', line 11

def execute
  raise "You must define an execute method"
end