module Maxwell::Agent::Coercable::ClassMethods

Public Instance Methods

coerce(key, as) click to toggle source
# File lib/maxwell/agent/coercable.rb, line 30
def coerce(key, as)
  @coercions[key] = as
end
coercions() click to toggle source
# File lib/maxwell/agent/coercable.rb, line 26
def coercions
  @coercions ||= {}
end