Class: Lambit::Commands::Build::Base

Inherits:
Subcommands::Base show all
Defined in:
lib/lambit/commands/build.rb

Instance Attribute Summary collapse

Attributes inherited from Subcommands::Base

#dry_run, #exitstatus, #subcommand

Instance Method Summary collapse

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

#workspaceObject (readonly)

Returns the value of attribute workspace.



82
83
84
# File 'lib/lambit/commands/build.rb', line 82

def workspace
  @workspace
end