Class: BuildTool::Commands::Alias

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/build-tool/commands.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(alternate, cmd) ⇒ Alias

Returns a new instance of Alias.



349
350
351
352
353
# File 'lib/build-tool/commands.rb', line 349

def initialize( alternate, cmd )
    super( cmd )
    @name = alternate
    @cmd = cmd
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



348
349
350
# File 'lib/build-tool/commands.rb', line 348

def name
  @name
end