Class: Kameleoon::CBScores::VarGroup
- Inherits:
-
Object
- Object
- Kameleoon::CBScores::VarGroup
- Defined in:
- lib/kameleoon/data/cbscores.rb
Instance Attribute Summary collapse
-
#ids ⇒ Object
readonly
Returns the value of attribute ids.
Instance Method Summary collapse
-
#initialize(ids) ⇒ VarGroup
constructor
A new instance of VarGroup.
- #to_s ⇒ Object
Constructor Details
#initialize(ids) ⇒ VarGroup
Returns a new instance of VarGroup.
32 33 34 35 36 |
# File 'lib/kameleoon/data/cbscores.rb', line 32 def initialize(ids) ids.sort! ids.freeze @ids = ids end |
Instance Attribute Details
#ids ⇒ Object (readonly)
Returns the value of attribute ids.
30 31 32 |
# File 'lib/kameleoon/data/cbscores.rb', line 30 def ids @ids end |
Instance Method Details
#to_s ⇒ Object
38 39 40 |
# File 'lib/kameleoon/data/cbscores.rb', line 38 def to_s "VarGroup{ids:#{@ids}}" end |