Class: TheForemanProxmox::OptionsSelect
- Inherits:
-
Object
- Object
- TheForemanProxmox::OptionsSelect
- Defined in:
- app/models/the_foreman_proxmox/options_select.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#range ⇒ Object
Returns the value of attribute range.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ OptionsSelect
constructor
A new instance of OptionsSelect.
- #to_s ⇒ Object
Constructor Details
#initialize(args = {}) ⇒ OptionsSelect
Returns a new instance of OptionsSelect.
30 31 32 33 34 |
# File 'app/models/the_foreman_proxmox/options_select.rb', line 30 def initialize(args = {}) @id = args[:id] @name = args[:name] @range = args[:range] end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
22 23 24 |
# File 'app/models/the_foreman_proxmox/options_select.rb', line 22 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
23 24 25 |
# File 'app/models/the_foreman_proxmox/options_select.rb', line 23 def name @name end |
#range ⇒ Object
Returns the value of attribute range.
24 25 26 |
# File 'app/models/the_foreman_proxmox/options_select.rb', line 24 def range @range end |
Instance Method Details
#to_s ⇒ Object
26 27 28 |
# File 'app/models/the_foreman_proxmox/options_select.rb', line 26 def to_s id end |