module TableData::Coercion
Public Class Methods
[](key)
click to toggle source
# File lib/tabledata/coercion.rb, line 7 def self.[](key) @coerce[key] end
coercing(key, &block)
click to toggle source
# File lib/tabledata/coercion.rb, line 11 def self.coercing(key, &block) @coerce[key] = block end