Method: LegacyFacter::Util::Parser.register
- Defined in:
- lib/facter/custom_facts/util/parser.rb
.register(klass, &suitable) ⇒ Object
31 32 33 |
# File 'lib/facter/custom_facts/util/parser.rb', line 31 def self.register(klass, &suitable) @parsers << [klass, suitable] end |