Class: CopyBot::Steps::BaseStep
- Inherits:
-
Object
- Object
- CopyBot::Steps::BaseStep
show all
- Defined in:
- lib/copy_bot/steps/base_step.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(step_definition) ⇒ BaseStep
Returns a new instance of BaseStep.
11
12
13
14
15
|
# File 'lib/copy_bot/steps/base_step.rb', line 11
def initialize(step_definition)
@step_definition = step_definition
@message = nil
@success = false
end
|
Instance Attribute Details
#message ⇒ Object
5
6
7
|
# File 'lib/copy_bot/steps/base_step.rb', line 5
def message
@message
end
|
#success ⇒ FalseClass, TrueClass
8
9
10
|
# File 'lib/copy_bot/steps/base_step.rb', line 8
def success
@success
end
|
Instance Method Details
#run ⇒ Object
18
19
20
|
# File 'lib/copy_bot/steps/base_step.rb', line 18
def run
raise NotImplementedError
end
|