Sha256: ed5f88335ef41aac1ef9d15e61f6c7f18bf7b3c295ecd8f12cca45d3234f227c

Contents?: true

Size: 287 Bytes

Versions: 10

Compression:

Stored size: 287 Bytes

Contents

module ActiveFedora
  # Represents the mapping between a model attribute and a property
  class DelegatedAttribute

    attr_accessor :field, :multiple

    def initialize(field, args={})
      self.field = field
      self.multiple = args.fetch(:multiple, false)
    end
    
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
active-fedora-9.5.0 lib/active_fedora/delegated_attribute.rb
active-fedora-9.4.3 lib/active_fedora/delegated_attribute.rb
active-fedora-9.4.2 lib/active_fedora/delegated_attribute.rb
active-fedora-9.4.1 lib/active_fedora/delegated_attribute.rb
active-fedora-9.4.0 lib/active_fedora/delegated_attribute.rb
active-fedora-9.3.0 lib/active_fedora/delegated_attribute.rb
active-fedora-9.2.1 lib/active_fedora/delegated_attribute.rb
active-fedora-9.2.0 lib/active_fedora/delegated_attribute.rb
active-fedora-9.2.0.rc2 lib/active_fedora/delegated_attribute.rb
active-fedora-9.2.0.rc1 lib/active_fedora/delegated_attribute.rb