module Cattri::Introspection::ClassMethods

def attribute_defined?(name)

Returns:
  • (Boolean) -

Parameters:
  • name (Symbol, String) -- the attribute name
def attribute_defined?(name)
  !!attribute(name)
end