class Foraneus::Converters::Noop
Noop
converter.
It does not perform any conversion at all. Useful when its needed to have a field but conversion is handled at another level.
Attributes
opts[R]
Public Class Methods
new(opts = {})
click to toggle source
# File lib/foraneus/converters/noop.rb, line 11 def initialize(opts = {}) @opts = opts end
Public Instance Methods
parse(o)
click to toggle source
@return [Object]
# File lib/foraneus/converters/noop.rb, line 16 def parse(o) o end
raw(o)
click to toggle source
# File lib/foraneus/converters/noop.rb, line 20 def raw(o) o end