Class: ActiveGraph::Shared::TypeConverters::BaseConverter

Inherits:
Object
  • Object
show all
Defined in:
lib/active_graph/shared/type_converters.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.converted?(value) ⇒ Boolean

Returns:



11
12
13
# File 'lib/active_graph/shared/type_converters.rb', line 11

def converted?(value)
  value.is_a?(db_type)
end

Instance Method Details

#supports_array?Boolean

Returns:



16
17
18
# File 'lib/active_graph/shared/type_converters.rb', line 16

def supports_array?
  false
end