Class: Mongoid::Matchers::ValidationContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/matchers/callbacks.rb

Instance Attribute Summary collapse

Instance Attribute Details

#validation_contextObject

Returns the value of attribute validation_context

Returns:

  • (Object)

    the current value of validation_context



103
104
105
# File 'lib/matchers/callbacks.rb', line 103

def validation_context
  @validation_context
end