Sha256: 568a12eca7d87a05b358329283ccc8782ebb80f052ac6f8faba35711a1c83066

Contents?: true

Size: 430 Bytes

Versions: 19

Compression:

Stored size: 430 Bytes

Contents

module AdminIt
  module HashData
    #
    module Context
      def self.included(base)
        base.extend(ClassMethods)
      end

      #
      module ClassMethods
        def load_fields
          []
        end
      end
    end

    #
    module Field
      protected

      def read_value(entity)
        entity[name]
      end

      def write_value(entity, value)
        entity[name] = value
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
admin_it-1.3.8 lib/admin_it/data/hash.rb
admin_it-1.3.7 lib/admin_it/data/hash.rb
admin_it-1.3.6 lib/admin_it/data/hash.rb
admin_it-1.3.5 lib/admin_it/data/hash.rb
admin_it-1.3.4 lib/admin_it/data/hash.rb
admin_it-1.3.3 lib/admin_it/data/hash.rb
admin_it-1.3.2 lib/admin_it/data/hash.rb
admin_it-1.3.1 lib/admin_it/data/hash.rb
admin_it-1.3.0 lib/admin_it/data/hash.rb
admin_it-1.2.8 lib/admin_it/data/hash.rb
admin_it-1.2.7 lib/admin_it/data/hash.rb
admin_it-1.2.6 lib/admin_it/data/hash.rb
admin_it-1.2.5 lib/admin_it/data/hash.rb
admin_it-1.2.4 lib/admin_it/data/hash.rb
admin_it-1.2.3 lib/admin_it/data/hash.rb
admin_it-1.2.2 lib/admin_it/data/hash.rb
admin_it-1.2.1 lib/admin_it/data/hash.rb
admin_it-1.2.0 lib/admin_it/data/hash.rb
admin_it-1.1.0 lib/admin_it/data/hash.rb