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.



333
334
335
336
337
# File 'lib/build-tool/commands.rb', line 333

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



332
333
334
# File 'lib/build-tool/commands.rb', line 332

def name
  @name
end