Class: SixthSense::Plugin
- Inherits:
-
Object
- Object
- SixthSense::Plugin
- Defined in:
- lib/sixth_sense.rb
Instance Method Summary collapse
Instance Method Details
#adapter(name, adapter_class) ⇒ Object
9 10 11 |
# File 'lib/sixth_sense.rb', line 9 def adapter(name, adapter_class) FrameworkAdapter.register(name, adapter_class) end |
#analyzer(analyzer_class) ⇒ Object
13 14 15 |
# File 'lib/sixth_sense.rb', line 13 def analyzer(analyzer_class) SixthSense.register_analyzer(analyzer_class) end |