Method: Veto::CheckContextObject#initialize
- Defined in:
- lib/veto/check_context_object.rb
#initialize(entity, context, errors) ⇒ CheckContextObject
Returns a new instance of CheckContextObject.
4 5 6 7 8 |
# File 'lib/veto/check_context_object.rb', line 4 def initialize(entity, context, errors) @entity = entity @context = context @errors = errors end |