Module: Shiba::Explain::CheckSupport::ClassMethods

Included in:
Shiba::Explain, Shiba::Explain::Checks
Defined in:
lib/shiba/explain/check_support.rb

Instance Method Summary collapse

Instance Method Details

#check(c) ⇒ Object



5
6
7
8
# File 'lib/shiba/explain/check_support.rb', line 5

def check(c)
  @checks ||= []
  @checks << c
end

#get_checksObject



10
11
12
# File 'lib/shiba/explain/check_support.rb', line 10

def get_checks
  @checks
end