Class: RubyLint::Presenter::Base
- Inherits:
-
Object
- Object
- RubyLint::Presenter::Base
- Defined in:
- lib/ruby-lint/presenter/base.rb
Overview
Base presenter class that provides some commonly used methods.
Class Method Summary collapse
-
.register(name) ⇒ Object
Registers the presenter in Configuration.available_presenters.
Class Method Details
.register(name) ⇒ Object
Registers the presenter in Configuration.available_presenters.
13 14 15 |
# File 'lib/ruby-lint/presenter/base.rb', line 13 def self.register(name) Configuration.available_presenters[name] = self end |