Class: Cosmo::Shell::Group
- Inherits:
-
Bombshell::Environment
- Object
- Bombshell::Environment
- Cosmo::Shell::Group
- Includes:
- Bombshell::Shell
- Defined in:
- lib/cosmo/shell.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ Group
constructor
A new instance of Group.
- #main ⇒ Object
- #name ⇒ Object
- #run(command) ⇒ Object
Constructor Details
#initialize(name) ⇒ Group
Returns a new instance of Group.
22 23 24 |
# File 'lib/cosmo/shell.rb', line 22 def initialize(name) @name = name end |
Instance Method Details
#main ⇒ Object
35 36 37 |
# File 'lib/cosmo/shell.rb', line 35 def main quit end |
#name ⇒ Object
27 28 29 |
# File 'lib/cosmo/shell.rb', line 27 def name @name end |