Class: Endeca::RefinementDimension
- Includes:
- Comparable, Readers
- Defined in:
- lib/endeca/refinement_dimension.rb
Instance Attribute Summary collapse
-
#raw ⇒ Object
(also: #attributes)
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
- #<=>(other) ⇒ Object
- #==(other) ⇒ Object
-
#initialize(raw = {}) ⇒ RefinementDimension
constructor
A new instance of RefinementDimension.
- #inspect ⇒ Object
Methods included from Readers
Constructor Details
#initialize(raw = {}) ⇒ RefinementDimension
Returns a new instance of RefinementDimension.
14 15 16 |
# File 'lib/endeca/refinement_dimension.rb', line 14 def initialize(raw={}) @raw=raw end |
Instance Attribute Details
#raw ⇒ Object (readonly) Also known as: attributes
Returns the value of attribute raw.
13 14 15 |
# File 'lib/endeca/refinement_dimension.rb', line 13 def raw @raw end |
Instance Method Details
#<=>(other) ⇒ Object
27 28 29 |
# File 'lib/endeca/refinement_dimension.rb', line 27 def <=>(other) name <=> other.name end |
#==(other) ⇒ Object
23 24 25 |
# File 'lib/endeca/refinement_dimension.rb', line 23 def ==(other) id == other.id end |
#inspect ⇒ Object
19 20 21 |
# File 'lib/endeca/refinement_dimension.rb', line 19 def inspect "#<#{self.class}=0x#{self.object_id.to_s(16)} id=#{id} name=#{name.inspect}>" end |