Sha256: 65eb418e3ef157e6fc40f54926243ab99bcc3324f8a2008f0d353b45c2dac924
Contents?: true
Size: 722 Bytes
Versions: 8
Compression:
Stored size: 722 Bytes
Contents
module Endeca class Dimension include Comparable extend ClassToProc extend Readers reader \ "DimValueName" => :name, "SelectionLink" => :selection_link, "RemovalLink" => :removal_link integer_reader \ "DimValueID" => :id, "NumberofRecords" => :record_count attr_reader :raw def initialize(raw={}) @raw=raw end alias_method :attributes, :raw def to_endeca_params selection_link || removal_link end 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
8 entries across 8 versions & 1 rubygems