Module: Sequel::Plugins::ThrowFailures::InstanceMethods
- Defined in:
- lib/sequel/plugins/throw_failures.rb
Instance Method Summary collapse
-
#valid?(opts = OPTS) ⇒ Boolean
Catch any thrown HookFailed exceptions.
Instance Method Details
#valid?(opts = OPTS) ⇒ Boolean
Catch any thrown HookFailed exceptions.
41 42 43 |
# File 'lib/sequel/plugins/throw_failures.rb', line 41 def valid?(opts = OPTS) catch_hook_failures{super} || false end |