Class: Lambit::Commands::Build::Base
- Inherits:
-
Subcommands::Base
- Object
- Subcommands::Base
- Lambit::Commands::Build::Base
- Defined in:
- lib/lambit/commands/build.rb
Direct Known Subclasses
CompressPackageCommand, PackagePipCommand, PackageSourceCommand
Instance Attribute Summary collapse
-
#workspace ⇒ Object
readonly
Returns the value of attribute workspace.
Attributes inherited from Subcommands::Base
#dry_run, #exitstatus, #subcommand
Instance Method Summary collapse
-
#initialize(opts, args) ⇒ Base
constructor
A new instance of Base.
Methods inherited from Subcommands::Base
#is_successful?, #output, run, #run, #successful?
Constructor Details
#initialize(opts, args) ⇒ Base
Returns a new instance of Base.
84 85 86 87 |
# File 'lib/lambit/commands/build.rb', line 84 def initialize(opts, args) super @workspace = opts['workspace'] end |
Instance Attribute Details
#workspace ⇒ Object (readonly)
Returns the value of attribute workspace.
82 83 84 |
# File 'lib/lambit/commands/build.rb', line 82 def workspace @workspace end |