Class: VpsAdminOS::Converter::Group
- Inherits:
-
Object
- Object
- VpsAdminOS::Converter::Group
- Defined in:
- lib/vpsadminos-converter/group.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#path ⇒ Object
Returns the value of attribute path.
Class Method Summary collapse
Instance Method Summary collapse
- #dump_config ⇒ Object
-
#initialize(name, path) ⇒ Group
constructor
A new instance of Group.
Constructor Details
#initialize(name, path) ⇒ Group
Returns a new instance of Group.
9 10 11 12 13 |
# File 'lib/vpsadminos-converter/group.rb', line 9 def initialize(name, path) @name = name @path = path @cgparams = [] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/vpsadminos-converter/group.rb', line 7 def name @name end |
#path ⇒ Object
Returns the value of attribute path.
7 8 9 |
# File 'lib/vpsadminos-converter/group.rb', line 7 def path @path end |
Class Method Details
.default ⇒ Object
3 4 5 |
# File 'lib/vpsadminos-converter/group.rb', line 3 def self.default new('default', 'default') end |
Instance Method Details
#dump_config ⇒ Object
15 16 17 18 19 20 |
# File 'lib/vpsadminos-converter/group.rb', line 15 def dump_config { 'path' => path, 'cgparams' => [] # TODO } end |