Class: Cucumber::Core::Test::Action::Undefined

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/core/test/action/undefined.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_location) ⇒ Undefined

Returns a new instance of Undefined.



12
13
14
# File 'lib/cucumber/core/test/action/undefined.rb', line 12

def initialize(source_location)
  @location = source_location
end

Instance Attribute Details

#locationObject (readonly)

Returns the value of attribute location.



10
11
12
# File 'lib/cucumber/core/test/action/undefined.rb', line 10

def location
  @location
end

Instance Method Details

#executeObject



16
17
18
# File 'lib/cucumber/core/test/action/undefined.rb', line 16

def execute(*)
  undefined
end

#skipObject



20
21
22
# File 'lib/cucumber/core/test/action/undefined.rb', line 20

def skip(*)
  undefined
end