Module: Shiba::Explain::CheckSupport
- Included in:
- Shiba::Explain, Checks
- Defined in:
- lib/shiba/explain/check_support.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#_run_checks!(&block) ⇒ Object
15 16 17 18 19 20 |
# File 'lib/shiba/explain/check_support.rb', line 15 def _run_checks!(&block) self.class.get_checks.each do |check| res = send(check) break if yield == :stop end end |