Module: Berkshelf::Formatters::AbstractFormatter::ClassMethods
- Defined in:
- lib/berkshelf/formatters.rb
Instance Method Summary collapse
-
#register_formatter(id) ⇒ Hash
A hash of registered formatters.
Instance Method Details
#register_formatter(id) ⇒ Hash
Returns a hash of registered formatters.
63 64 65 |
# File 'lib/berkshelf/formatters.rb', line 63 def register_formatter(id) Formatters.register(id, self) end |