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:



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

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

Instance Method Details

#supports_array?Boolean

Returns:



22
23
24
# File 'lib/active_graph/shared/type_converters.rb', line 22

def supports_array?
  false
end