Class: WIP::Runner::Options
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- WIP::Runner::Options
- Defined in:
- lib/wip/runner/options.rb
Instance Method Summary collapse
Instance Method Details
#each(&block) ⇒ Object
10 11 12 |
# File 'lib/wip/runner/options.rb', line 10 def each(&block) self.to_h.each(&block) end |
#keys ⇒ Object
14 15 16 |
# File 'lib/wip/runner/options.rb', line 14 def keys self.to_h.keys end |
#merge(other) ⇒ Object
22 23 24 |
# File 'lib/wip/runner/options.rb', line 22 def merge(other) Options.new(self.to_h.merge(other.to_h)) end |
#to_hash ⇒ Object
6 7 8 |
# File 'lib/wip/runner/options.rb', line 6 def to_hash self.to_h end |
#values ⇒ Object
18 19 20 |
# File 'lib/wip/runner/options.rb', line 18 def values self.to_h.values end |