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.
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
332 333 334 |
# File 'lib/build-tool/commands.rb', line 332 def name @name end |