Sha256: 794c1c9e891df41473a1db81ad9d41a80f2057de8f8b6c85cbb099f31ca1103a

Contents?: true

Size: 143 Bytes

Versions: 8

Compression:

Stored size: 143 Bytes

Contents

module Formulaic
  module Inputs
    class FileInput < Input
      def fill
        attach_file(label, value.path)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
formulaic-0.4.0 lib/formulaic/inputs/file_input.rb
formulaic-0.3.0 lib/formulaic/inputs/file_input.rb
formulaic-0.2.0 lib/formulaic/inputs/file_input.rb
formulaic-0.1.4 lib/formulaic/inputs/file_input.rb
formulaic-0.1.3 lib/formulaic/inputs/file_input.rb
formulaic-0.1.2 lib/formulaic/inputs/file_input.rb
formulaic-0.1.1 lib/formulaic/inputs/file_input.rb
formulaic-0.1.0 lib/formulaic/inputs/file_input.rb