Class: Chamber::Commands::Compare
- Includes:
- Comparable
- Defined in:
- lib/chamber/commands/compare.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Compare
constructor
A new instance of Compare.
Methods included from Comparable
Constructor Details
#initialize(options = {}) ⇒ Compare
Returns a new instance of Compare.
10 11 12 13 14 15 16 17 18 |
# File 'lib/chamber/commands/compare.rb', line 10 def initialize( = {}) super = .merge(namespaces: [:first]) self.first_settings_instance = Chamber::Instance.new() = .merge(namespaces: [:second]) self.second_settings_instance = Chamber::Instance.new() end |
Class Method Details
.call(options = {}) ⇒ Object
20 21 22 |
# File 'lib/chamber/commands/compare.rb', line 20 def self.call( = {}) new().call end |