Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow all Formatters to accept options hash
None of the built in formatters yet do anything with these options. However, it provides a consistent #initialize API that allows us to promote "formatter options" as a concept further up the stack in Capistrano. For example, in Capistrano we can offer this configuration system: set :format, ... set :format_options, key: value, ... We can only reasonable offer this if we are sure that the underlying formatters all accept an options hash (i.e. the :format_options). Most importantly, Airbrussh *does* have options, and this will allow us to have a standard way for those options to be declared. Airbrussh will be the default formatter in a future version of Capistrano, and this commit is part of laying the groundwork.
- Loading branch information