Class: Cucumber::Core::Test::Result::Duration
- Inherits:
-
Object
- Object
- Cucumber::Core::Test::Result::Duration
- Defined in:
- lib/cucumber/core/test/result.rb
Instance Attribute Summary collapse
-
#nanoseconds ⇒ Object
readonly
Returns the value of attribute nanoseconds.
Instance Method Summary collapse
-
#initialize(nanoseconds) ⇒ Duration
constructor
A new instance of Duration.
Constructor Details
#initialize(nanoseconds) ⇒ Duration
Returns a new instance of Duration.
254 255 256 |
# File 'lib/cucumber/core/test/result.rb', line 254 def initialize(nanoseconds) @nanoseconds = nanoseconds end |
Instance Attribute Details
#nanoseconds ⇒ Object (readonly)
Returns the value of attribute nanoseconds.
252 253 254 |
# File 'lib/cucumber/core/test/result.rb', line 252 def nanoseconds @nanoseconds end |