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