Sha256: 93b72446ed5a18512a89d77b442e85e91e4b1e2174650e378559a71754e73d74
Contents?: true
Size: 386 Bytes
Versions: 10
Compression:
Stored size: 386 Bytes
Contents
module Zermelo module Associations class IndexData attr_writer :data_klass_name attr_accessor :name, :type, :index_klass def initialize(opts = {}) [:name, :type, :index_klass].each do |a| send("#{a}=".to_sym, opts[a]) end end def data_klass @data_klass ||= @data_klass_name.constantize end end end end
Version data entries
10 entries across 10 versions & 1 rubygems