Class: PlatformosCheck::Checks
- Inherits:
-
Array
- Object
- Array
- PlatformosCheck::Checks
- Defined in:
- lib/platformos_check/checks.rb
Constant Summary collapse
- CHECK_METHOD_TIMEOUT =
sec
5
Instance Method Summary collapse
Instance Method Details
#call(method) ⇒ Object
10 11 12 13 14 |
# File 'lib/platformos_check/checks.rb', line 10 def call(method, *) each do |check| call_check_method(check, method, *) end end |
#disableable ⇒ Object
16 17 18 |
# File 'lib/platformos_check/checks.rb', line 16 def disableable @disableable ||= self.class.new(select(&:can_disable?)) end |
#single_file ⇒ Object
24 25 26 |
# File 'lib/platformos_check/checks.rb', line 24 def single_file @single_file ||= self.class.new(select(&:single_file?)) end |
#whole_platformos_app ⇒ Object
20 21 22 |
# File 'lib/platformos_check/checks.rb', line 20 def whole_platformos_app @whole_platformos_app ||= self.class.new(select(&:whole_platformos_app?)) end |