module Beowulf::OperationTypes
Constants
- TYPES
Public Instance Methods
type(key, param, value)
click to toggle source
# File lib/beowulf/operation_types.rb, line 24 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