module Cl::Cast

Public Instance Methods

cast(value) click to toggle source
# File lib/cl/cast.rb, line 51
def cast(value)
  type ? Cast.new(type, value, separator: separator).apply : value
end