Module: ActionFigure::FormatRegistry
- Included in:
- ActionFigure
- Defined in:
- lib/action_figure/format_registry.rb
Overview
Provides formatter registration and lookup for ActionFigure.
Defined Under Namespace
Classes: Formats
Instance Method Summary collapse
Instance Method Details
#fetch(name) ⇒ Object
30 31 32 |
# File 'lib/action_figure/format_registry.rb', line 30 def fetch(name) format_registry.fetch(name) end |
#register_formatter(**formatters) ⇒ Object
26 27 28 |
# File 'lib/action_figure/format_registry.rb', line 26 def register_formatter(**formatters) format_registry.register_formatter(**formatters) end |