Exception: Cucumber::Core::Test::Result::Undefined

Inherits:
Raisable
  • Object
show all
Defined in:
lib/cucumber/core/test/result.rb

Instance Attribute Summary

Attributes inherited from Raisable

#duration, #message

Instance Method Summary collapse

Methods inherited from Raisable

#initialize, #with_appended_backtrace, #with_duration, #with_filtered_backtrace, #with_message

Constructor Details

This class inherits a constructor from Cucumber::Core::Test::Result::Raisable

Instance Method Details

#describe_to(visitor, *args) ⇒ Object



142
143
144
145
146
# File 'lib/cucumber/core/test/result.rb', line 142

def describe_to(visitor, *args)
  visitor.undefined(*args)
  visitor.duration(duration, *args)
  self
end

#ok?(be_strict = false) ⇒ Boolean

Returns:

  • (Boolean)


152
153
154
# File 'lib/cucumber/core/test/result.rb', line 152

def ok?(be_strict = false)
  !be_strict
end

#to_sObject



148
149
150
# File 'lib/cucumber/core/test/result.rb', line 148

def to_s
  "?"
end