module Twine::Formatters
Attributes
formatters[R]
Public Class Methods
register_formatter(formatter_class)
click to toggle source
registers a new formatter
formatter_class - the class of the formatter to register
returns array of active formatters
# File lib/twine/formatters.rb, line 15 def register_formatter formatter_class @formatters << formatter_class.new end