Class: ActiveGraph::Shared::TypeConverters::StringConverter
Class Method Summary
collapse
converted?, #supports_array?
Class Method Details
.convert_type ⇒ Object
101
102
103
|
# File 'lib/active_graph/shared/type_converters.rb', line 101
def convert_type
String
end
|
.db_type ⇒ Object
105
106
107
|
# File 'lib/active_graph/shared/type_converters.rb', line 105
def db_type
String
end
|
.to_db(value) ⇒ Object
Also known as:
to_ruby
109
110
111
|
# File 'lib/active_graph/shared/type_converters.rb', line 109
def to_db(value)
value.to_s
end
|