Class: OctoMerge::CLI
- Inherits:
-
Object
- Object
- OctoMerge::CLI
- Defined in:
- lib/octo_merge/cli.rb,
lib/octo_merge/cli/parser.rb
Defined Under Namespace
Classes: Parser
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(args) ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
#initialize(args) ⇒ CLI
Returns a new instance of CLI.
11 12 13 |
# File 'lib/octo_merge/cli.rb', line 11 def initialize(args) @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
5 6 7 |
# File 'lib/octo_merge/cli.rb', line 5 def args @args end |
Class Method Details
.run(*args) ⇒ Object
7 8 9 |
# File 'lib/octo_merge/cli.rb', line 7 def self.run(*args) new(*args).run end |
Instance Method Details
#run ⇒ Object
15 16 17 18 |
# File 'lib/octo_merge/cli.rb', line 15 def run configure execute end |