Class: Cucumber::Core::Test::UndefinedAction

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/core/test/actions/undefined_action.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_location) ⇒ UndefinedAction

Returns a new instance of UndefinedAction.



11
12
13
# File 'lib/cucumber/core/test/actions/undefined_action.rb', line 11

def initialize(source_location)
  @location = source_location
end

Instance Attribute Details

#locationObject (readonly)

Returns the value of attribute location.



9
10
11
# File 'lib/cucumber/core/test/actions/undefined_action.rb', line 9

def location
  @location
end

Instance Method Details

#executeObject



15
16
17
# File 'lib/cucumber/core/test/actions/undefined_action.rb', line 15

def execute(*)
  undefined
end

#skipObject



19
20
21
# File 'lib/cucumber/core/test/actions/undefined_action.rb', line 19

def skip(*)
  undefined
end