class FlatKit::FieldType::GuessType

GuessType is a field type where we don't know what type the field is, and it needs to be guessed. This is a sentinel type that doesn't match any data.

Public Class Methods

coerce(data) click to toggle source
# File lib/flat_kit/field_type/guess_type.rb, line 15
def self.coerce(data)
  CoerceFailure
end
matches?(data) click to toggle source
# File lib/flat_kit/field_type/guess_type.rb, line 11
def self.matches?(data)
  false
end
type_name() click to toggle source
# File lib/flat_kit/field_type/guess_type.rb, line 7
def self.type_name
  self.name
end