module EmbeddedDocument::Embedders

Public Instance Methods

datetime() click to toggle source
# File lib/embedded_document/embedders.rb, line 7
def datetime
  lambda { |x| DateTime.parse x }
end
identity() click to toggle source
# File lib/embedded_document/embedders.rb, line 3
def identity
  lambda { |x| x }
end