Class: RgGen::Core::CLI
Instance Attribute Summary collapse
-
#builder ⇒ Object
readonly
Returns the value of attribute builder.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(builder = nil) ⇒ CLI
constructor
A new instance of CLI.
- #run(args) ⇒ Object
Constructor Details
Instance Attribute Details
#builder ⇒ Object (readonly)
Returns the value of attribute builder.
11 12 13 |
# File 'lib/rggen/core/cli.rb', line 11 def builder @builder end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
12 13 14 |
# File 'lib/rggen/core/cli.rb', line 12 def @options end |
Instance Method Details
#run(args) ⇒ Object
14 15 16 17 |
# File 'lib/rggen/core/cli.rb', line 14 def run(args) .parse(args) runner.run(builder, ) end |