class Step
Attributes
step_name[RW]
Public Class Methods
new(step_name, step_definition)
click to toggle source
# File lib/static_mock/step.rb, line 4 def initialize(step_name, step_definition) @step_name = step_name @step_definition = step_definition end
Public Instance Methods
run()
click to toggle source
# File lib/static_mock/step.rb, line 9 def run @step_definition.call end