Class: Intrigue::Ident::CheckFactory
- Inherits:
-
Object
- Object
- Intrigue::Ident::CheckFactory
- Defined in:
- lib/check_factory.rb
Class Method Summary collapse
-
.all ⇒ Object
Provide the full list of checks.
-
.register(klass) ⇒ Object
Register a new handler.
Class Method Details
.all ⇒ Object
Provide the full list of checks
16 17 18 |
# File 'lib/check_factory.rb', line 16 def self.all @checks end |
.register(klass) ⇒ Object
Register a new handler
8 9 10 11 |
# File 'lib/check_factory.rb', line 8 def self.register(klass) @checks = [] unless @checks @checks << klass if klass end |