Module: MarkMapper::Extensions::String::ClassMethods

Defined in:
lib/mark_mapper/extensions/string.rb

Instance Method Summary collapse

Instance Method Details

#from_marklogic(value) ⇒ Object


12
13
14
# File 'lib/mark_mapper/extensions/string.rb', line 12

def from_marklogic(value)
  value && value.to_s
end

#to_marklogic(value) ⇒ Object


8
9
10
# File 'lib/mark_mapper/extensions/string.rb', line 8

def to_marklogic(value)
  value && value.to_s
end

#xs_typeObject


16
17
18
# File 'lib/mark_mapper/extensions/string.rb', line 16

def xs_type
  "string"
end