Sha256: 6d1e642fa327c461501a60dac8f50f4a44d8cc3b3c34d10c0166b83cafcfc628

Contents?: true

Size: 341 Bytes

Versions: 4

Compression:

Stored size: 341 Bytes

Contents

module Druid
  module Elements
    class FileField < Element
      def self.finders
        super + [:title, :label]
      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

4 entries across 4 versions & 1 rubygems

Version Path
druid-ts-1.2.2 lib/druid/elements/file_field.rb
druid-ts-1.2.1 lib/druid/elements/file_field.rb
druid-ts-1.2.0 lib/druid/elements/file_field.rb
druid-ts-1.1.8 lib/druid/elements/file_field.rb