Class: ActiveModel::Validator

Inherits:
Object
  • Object
show all
Defined in:
lib/strobe/validations.rb

Instance Method Summary collapse

Instance Method Details

#skippable?Boolean

Returns:

  • (Boolean)

4
5
6
# File 'lib/strobe/validations.rb', line 4

def skippable?
  !options.key?(:skippable) || options[:skippable]
end