Module: Sequel::Plugins::ThrowFailures::InstanceMethods

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

Instance Method Summary collapse

Instance Method Details

#valid?(opts = OPTS) ⇒ Boolean

Catch any thrown HookFailed exceptions.

Returns:

  • (Boolean)


41
42
43
# File 'lib/sequel/plugins/throw_failures.rb', line 41

def valid?(opts = OPTS)
  catch_hook_failures{super} || false
end