class IknowParams::Serializer::String

Public Class Methods

new() click to toggle source
Calls superclass method IknowParams::Serializer::new
# File lib/iknow_params/serializer.rb, line 91
def initialize
  super(::String)
end

Public Instance Methods

load(str) click to toggle source
# File lib/iknow_params/serializer.rb, line 95
def load(str)
  matches_type!(str, err: LoadError)
  str
end