Sha256: 7ea8c47b20999e9cd8bc213c42920fe49e23ad76345feeafcce29c4ddadd6dfa
Contents?: true
Size: 250 Bytes
Versions: 1
Compression:
Stored size: 250 Bytes
Contents
class EndecaOnDemand class Record def initialize(record) record.each do |key, value| self.instance_variable_set(:"@#{key.downcase}", value) self.class_eval("attr_reader :#{key.downcase}") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
endeca_on_demand-0.9.5 | lib/endeca_on_demand/record.rb |