Class: BuildTool::Commands::Alias
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- BuildTool::Commands::Alias
- Defined in:
- lib/build-tool/commands.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(alternate, cmd) ⇒ Alias
constructor
A new instance of Alias.
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
348 349 350 |
# File 'lib/build-tool/commands.rb', line 348 def name @name end |