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



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

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

#ok?(be_strict = false) ⇒ Boolean

Returns:

  • (Boolean)


157
158
159
# File 'lib/cucumber/core/test/result.rb', line 157

def ok?(be_strict = false)
  !be_strict
end

#to_sObject



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

def to_s
  "?"
end