Sha256: 4a1bfc416c2ab0667ce805ea631df6683c0b189472fb106fc389c674e22381a7

Contents?: true

Size: 410 Bytes

Versions: 11

Compression:

Stored size: 410 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

11 entries across 11 versions & 1 rubygems

Version Path
admin_it-1.0.11 lib/admin_it/data/hash.rb
admin_it-1.0.10 lib/admin_it/data/hash.rb
admin_it-1.0.9 lib/admin_it/data/hash.rb
admin_it-1.0.8 lib/admin_it/data/hash.rb
admin_it-1.0.7 lib/admin_it/data/hash.rb
admin_it-1.0.6 lib/admin_it/data/hash.rb
admin_it-1.0.5 lib/admin_it/data/hash.rb
admin_it-1.0.4 lib/admin_it/data/hash.rb
admin_it-1.0.3 lib/admin_it/data/hash.rb
admin_it-1.0.2 lib/admin_it/data/hash.rb
admin_it-1.0.1 lib/admin_it/data/hash.rb