Method: Attributor::Type::ClassMethods#example

Defined in:
lib/attributor/type.rb

#example(_context = nil, options: {}) ⇒ Object

Default, overridable example function



121
122
123
# File 'lib/attributor/type.rb', line 121

def example(_context = nil, options: {})
  raise AttributorException, "#{self} must implement #example"
end