Class: OctoMerge::Options
- Inherits:
-
Object
- Object
- OctoMerge::Options
- Defined in:
- lib/octo_merge/options.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.option(key) ⇒ Object
5 6 7 |
# File 'lib/octo_merge/options.rb', line 5 def self.option(key) define_method(key) { self[key] } end |
Instance Method Details
#[](key) ⇒ Object
17 18 19 |
# File 'lib/octo_merge/options.rb', line 17 def [](key) data[key] end |
#cli_options=(options) ⇒ Object
21 22 23 24 |
# File 'lib/octo_merge/options.rb', line 21 def () reset_cache @cli_options = end |