Exception: Cucumber::Core::Test::Result::Pending

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



178
179
180
181
182
# File 'lib/cucumber/core/test/result.rb', line 178

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

#ok?(be_strict = false) ⇒ Boolean

Returns:

  • (Boolean)


188
189
190
# File 'lib/cucumber/core/test/result.rb', line 188

def ok?(be_strict = false)
  !be_strict
end

#to_sObject



184
185
186
# File 'lib/cucumber/core/test/result.rb', line 184

def to_s
  "P"
end