Class: Radiustar::Value

Inherits:
Object
  • Object
show all
Includes:
Radiustar
Defined in:
lib/radiustar/dictionary/values.rb

Constant Summary

Constants included from Radiustar

LIBPATH, PATH

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Radiustar

#inspect, libpath, path, require_all_libs_relative_to, version

Constructor Details

#initialize(name, id) ⇒ Value

Returns a new instance of Value.



36
37
38
39
# File 'lib/radiustar/dictionary/values.rb', line 36

def initialize(name, id)
  @name = name
  @id = id.to_i
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



34
35
36
# File 'lib/radiustar/dictionary/values.rb', line 34

def name
  @name
end