module Beowulf::ExtensionTypes

Constants

TYPES

Public Instance Methods

type(key, param, value) click to toggle source
# File lib/beowulf/type/extension_types.rb, line 11
def type(key, param, value)
  return if value.nil?
  t = TYPES[key] or return value
  p = t[param] or return value
  p.new(value)
end