Class: RSpecSystem::Result
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- RSpecSystem::Result
- Defined in:
- lib/rspec-system/result.rb
Overview
This class represents raw results from a helper command
Instance Method Summary collapse
-
#[](name) ⇒ Object
Returns the value of a member, with hash syntax.
-
#to_hash ⇒ Hash
Return a hash.
Instance Method Details
#[](name) ⇒ Object
Returns the value of a member, with hash syntax.
10 11 12 |
# File 'lib/rspec-system/result.rb', line 10 def [](name) @table[name.to_sym] end |
#to_hash ⇒ Hash
Return a hash
17 18 19 |
# File 'lib/rspec-system/result.rb', line 17 def to_hash @table end |