Sha256: 6f5e4b080848f63a3a9974b651058f3e474f060052fc62e4934ab4ab45c9c7da

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

module EKV
  module ModelExtensions
    module ClassMethods

      # Sets default values for this model
      #
      # @param [Hash] defaults A hash containing default values
      def key_value_store_defaults(defaults)
        class_variable_set(:@@ekv_defaults, defaults)
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
easy_key_value-0.1.2 lib/easy_key_value/class_methods.rb
easy_key_value-0.1.1 lib/easy_key_value/class_methods.rb
easy_key_value-0.1.0 lib/easy_key_value/class_methods.rb