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
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
16
17
18
|
# File 'lib/active_graph/shared/type_converters.rb', line 16
def supports_array?
false
end
|