Sha256: 8f7141f89e0aaff5cf68a0da088ab876406c6d18f8ce163f04f4b120b986c0a2
Contents?: true
Size: 584 Bytes
Versions: 14
Compression:
Stored size: 584 Bytes
Contents
module Endeca class RefinementDimension include Comparable include Readers extend ClassToProc reader \ "DimensionName" => :name, "ExpansionLink" => :to_endeca_params integer_reader \ "DimensionID" => :id attr_reader :raw def initialize(raw={}) @raw=raw end alias_method :attributes, :raw def inspect "#<#{self.class}=0x#{self.object_id.to_s(16)} id=#{id} name=#{name.inspect}>" end def ==(other) id == other.id end def <=>(other) name <=> other.name end end end
Version data entries
14 entries across 14 versions & 2 rubygems