Class: Shoulda::Callback::Matchers::ActiveModel::ValidationContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/shoulda/callback/matchers/active_model.rb

Instance Attribute Summary collapse

Instance Attribute Details

#validation_contextObject

Returns the value of attribute validation_context

Returns:

  • the current value of validation_context



228
229
230
# File 'lib/shoulda/callback/matchers/active_model.rb', line 228

def validation_context
  @validation_context
end