Class: Installer::Shebang
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#cmd ⇒ Object
readonly
Returns the value of attribute cmd.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cmd, args = []) ⇒ Shebang
constructor
A new instance of Shebang.
- #to_s ⇒ Object
Constructor Details
#initialize(cmd, args = []) ⇒ Shebang
Returns a new instance of Shebang.
1388 1389 1390 1391 |
# File 'lib/roebe/setup/setup.rb', line 1388 def initialize(cmd, args = []) @cmd = cmd @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
1394 1395 1396 |
# File 'lib/roebe/setup/setup.rb', line 1394 def args @args end |
#cmd ⇒ Object (readonly)
Returns the value of attribute cmd.
1393 1394 1395 |
# File 'lib/roebe/setup/setup.rb', line 1393 def cmd @cmd end |