Class: Magica::Command

Inherits:
Object show all
Extended by:
Forwardable
Includes:
Rake::DSL
Defined in:
lib/magica/command.rb,
lib/magica/commands/git.rb,
lib/magica/commands/linker.rb,
lib/magica/commands/compiler.rb

Overview

rubocop:disable Style/FormatStringToken

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.



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

def initialize(build)
  @build = build
end

Instance Attribute Details

#buildObject

Returns the value of attribute build.



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

def build
  @build
end

#commandObject

Returns the value of attribute command.



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

def command
  @command
end