Class: ActiveGraph::Shared::TypeConverters::BaseConverter
- Inherits:
-
Object
- Object
- ActiveGraph::Shared::TypeConverters::BaseConverter
show all
- Defined in:
- lib/active_graph/shared/type_converters.rb
Direct Known Subclasses
BigDecimalConverter, BooleanConverter, DateConverter, DateTimeConverter, FloatConverter, IntegerConverter, JSONConverter, ObjectConverter, StringConverter, TimeConverter, YAMLConverter
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.converted?(value) ⇒ Boolean
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
22
23
24
|
# File 'lib/active_graph/shared/type_converters.rb', line 22
def supports_array?
false
end
|