Class: Rpub::Command
- Inherits:
-
Object
- Object
- Rpub::Command
- Defined in:
- lib/rpub/command.rb
Direct Known Subclasses
Rpub::Commands::Clean, Rpub::Commands::Compile, Rpub::Commands::Generate, Rpub::Commands::Package, Rpub::Commands::Preview, Rpub::Commands::Stats
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(args, options) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(args, options) ⇒ Command
Returns a new instance of Command.
5 6 7 8 |
# File 'lib/rpub/command.rb', line 5 def initialize(args, ) @args, = args, run end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
3 4 5 |
# File 'lib/rpub/command.rb', line 3 def args @args end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/rpub/command.rb', line 3 def end |