Class: Radiustar::Value
- Inherits:
-
Object
- Object
- Radiustar::Value
- Defined in:
- lib/radiustar/dictionary/values.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, id) ⇒ Value
constructor
A new instance of Value.
Constructor Details
#initialize(name, id) ⇒ Value
Returns a new instance of Value.
32 33 34 35 |
# File 'lib/radiustar/dictionary/values.rb', line 32 def initialize(name, id) @name = name @id = id.to_i end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
30 31 32 |
# File 'lib/radiustar/dictionary/values.rb', line 30 def name @name end |