Sha256: a3a4ac3864390994e8df611116fee031c733ea4664f766e805271c3345dadbc2

Contents?: true

Size: 333 Bytes

Versions: 8

Compression:

Stored size: 333 Bytes

Contents

module Druid
  module Elements
    class FileField < Element
      def self.finders
        super + [:title]
      end

      #
      # Set the value of the FileField
      #
      def value=(new_value)
        element.set(new_value)
      end
    end

    Druid::Elements.type_to_class[:file] = Druid::Elements::FileField
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
druid-ts-1.1.7 lib/druid/elements/file_field.rb
druid-ts-1.1.6 lib/druid/elements/file_field.rb
druid-ts-1.1.5 lib/druid/elements/file_field.rb
druid-ts-1.1.4 lib/druid/elements/file_field.rb
druid-ts-1.1.3 lib/druid/elements/file_field.rb
druid-ts-1.1.2 lib/druid/elements/file_field.rb
druid-ts-1.1.1 lib/druid/elements/file_field.rb
druid-ts-1.1.0 lib/druid/elements/file_field.rb