Sha256: 14d8b345236b6f06b7525af11d31ac42ad9cb0b6f81b073448bd81769ab30a59

Contents?: true

Size: 251 Bytes

Versions: 10

Compression:

Stored size: 251 Bytes

Contents

module ActiveData
  module Model
    module Attributes
      module Reflections
        class Dictionary < Attribute
          def keys
            @keys ||= Array.wrap(options[:keys]).map(&:to_s)
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
active_data-1.2.0 lib/active_data/model/attributes/reflections/dictionary.rb
active_data-1.1.7 lib/active_data/model/attributes/reflections/dictionary.rb
active_data-1.1.6 lib/active_data/model/attributes/reflections/dictionary.rb
active_data-1.1.5 lib/active_data/model/attributes/reflections/dictionary.rb
active_data-1.1.4 lib/active_data/model/attributes/reflections/dictionary.rb
active_data-1.1.3 lib/active_data/model/attributes/reflections/dictionary.rb
active_data-1.1.2 lib/active_data/model/attributes/reflections/dictionary.rb
active_data-1.1.1 lib/active_data/model/attributes/reflections/dictionary.rb
active_data-1.1.0 lib/active_data/model/attributes/reflections/dictionary.rb
active_data-1.0.0 lib/active_data/model/attributes/reflections/dictionary.rb