Sha256: de171d7e55254280bca63da45aefbde7d56440de451a6c557ace64858440b046

Contents?: true

Size: 283 Bytes

Versions: 87

Compression:

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

87 entries across 87 versions & 1 rubygems

Version Path
active-fedora-15.0.1 lib/active_fedora/delegated_attribute.rb
active-fedora-15.0.0 lib/active_fedora/delegated_attribute.rb
active-fedora-14.0.1 lib/active_fedora/delegated_attribute.rb
active-fedora-14.0.0 lib/active_fedora/delegated_attribute.rb
active-fedora-13.3.0 lib/active_fedora/delegated_attribute.rb
active-fedora-12.2.4 lib/active_fedora/delegated_attribute.rb
active-fedora-13.2.7 lib/active_fedora/delegated_attribute.rb
active-fedora-13.2.5 lib/active_fedora/delegated_attribute.rb
active-fedora-13.2.4 lib/active_fedora/delegated_attribute.rb
active-fedora-12.2.3 lib/active_fedora/delegated_attribute.rb
active-fedora-13.2.3 lib/active_fedora/delegated_attribute.rb
active-fedora-13.2.2 lib/active_fedora/delegated_attribute.rb
active-fedora-13.2.0 lib/active_fedora/delegated_attribute.rb
active-fedora-13.1.3 lib/active_fedora/delegated_attribute.rb
active-fedora-11.5.6 lib/active_fedora/delegated_attribute.rb
active-fedora-12.2.2 lib/active_fedora/delegated_attribute.rb
active-fedora-11.2.1 lib/active_fedora/delegated_attribute.rb
active-fedora-12.2.1 lib/active_fedora/delegated_attribute.rb
active-fedora-12.0.3 lib/active_fedora/delegated_attribute.rb
active-fedora-11.5.5 lib/active_fedora/delegated_attribute.rb