Class: Magica::Command

Inherits:
Object show all
Extended by:
Forwardable
Includes:
Rake::DSL
Defined in:
lib/magica/command.rb

Direct Known Subclasses

Compiler, Git, Linker

Defined Under Namespace

Classes: Compiler, Git, Linker

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(build) ⇒ Command

Returns a new instance of Command.



11
12
13
# File 'lib/magica/command.rb', line 11

def initialize(build)
  @build = build
end

Instance Attribute Details

#buildObject

Returns the value of attribute build.



9
10
11
# File 'lib/magica/command.rb', line 9

def build
  @build
end

#commandObject

Returns the value of attribute command.



9
10
11
# File 'lib/magica/command.rb', line 9

def command
  @command
end