Sha256: 9659b0542f59162a001e33881809c448b5eff10b2de6849253083362e105befa

Contents?: true

Size: 239 Bytes

Versions: 25

Compression:

Stored size: 239 Bytes

Contents

module StorageRoom
  
  class AtomicField < Field
    key :default_value

    key :choices
    key :include_blank_choice
    
    def add_to_entry_class(klass) # :nodoc:
      super
      klass.send(:key, identifier)
    end
    
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
storage_room-0.3.24 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.23 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.22 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.21 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.20 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.19 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.18 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.17 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.16 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.15 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.14 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.13 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.12 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.11 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.10 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.9 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.8 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.7 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.6 lib/storage_room/embeddeds/fields/atomic_field.rb
storage_room-0.3.5 lib/storage_room/embeddeds/fields/atomic_field.rb