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.
349 350 351 |
# File 'lib/cucumber/core/test/result.rb', line 349 def initialize(nanoseconds) @nanoseconds = nanoseconds end |
Instance Attribute Details
#nanoseconds ⇒ Object (readonly)
Returns the value of attribute nanoseconds.
347 348 349 |
# File 'lib/cucumber/core/test/result.rb', line 347 def nanoseconds @nanoseconds end |