Module: Sequel::Plugins::ValidationContexts::InstanceMethods

Defined in:
lib/sequel/plugins/validation_contexts.rb

Instance Attribute Summary collapse

Instance Attribute Details

#validation_contextObject (readonly)

The validation context to use for the current validation. Set via the :validation_context option passed to save/valid?.



35
36
37
# File 'lib/sequel/plugins/validation_contexts.rb', line 35

def validation_context
  @validation_context
end