Class: ActiveGraph::Shared::TypeConverters::StringConverter
Class Method Summary
collapse
converted?, #supports_array?
Class Method Details
.convert_type ⇒ Object
95
96
97
|
# File 'lib/active_graph/shared/type_converters.rb', line 95
def convert_type
String
end
|
.db_type ⇒ Object
99
100
101
|
# File 'lib/active_graph/shared/type_converters.rb', line 99
def db_type
String
end
|
.to_db(value) ⇒ Object
Also known as:
to_ruby
103
104
105
|
# File 'lib/active_graph/shared/type_converters.rb', line 103
def to_db(value)
value.to_s
end
|