Sha256: 17c305aa8b38946f127d363e8f50521b000cbb4ac3eb07e71e66091e853dc615

Contents?: true

Size: 275 Bytes

Versions: 2

Compression:

Stored size: 275 Bytes

Contents

module Druid
  module Elements
    class FileField < Element

      #
      # 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

2 entries across 2 versions & 1 rubygems

Version Path
druid-ts-1.2.4 lib/druid/elements/file_field.rb
druid-ts-1.2.3 lib/druid/elements/file_field.rb