Sha256: 4f4b2c7774a7107a5d02d8d6261fabcf8ec36ea0be6fb6cfc0830a2ce10858f0

Contents?: true

Size: 348 Bytes

Versions: 5

Compression:

Stored size: 348 Bytes

Contents

module Rasti
  class Form
    module Types
      class IO
        class << self

          include Castable
        
          private

          def valid?(value)
            value.respond_to?(:read) && value.respond_to?(:write)
          end

          def transform(value)
            value
          end

        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rasti-form-3.1.2 lib/rasti/form/types/io.rb
rasti-form-3.1.1 lib/rasti/form/types/io.rb
rasti-form-3.1.0 lib/rasti/form/types/io.rb
rasti-form-3.0.0 lib/rasti/form/types/io.rb
rasti-form-2.2.0 lib/rasti/form/types/io.rb