module WAG::Type
Public Instance Methods
from(type)
click to toggle source
# File lib/wag/type.rb, line 13 def from(type) return type if type.is_a?(WAG::Type::Base) const_get(WAG::Inflector.inflector.camelize(type.to_s)).new end