Module: SyntaxTree::Formatter::SingleQuotes
- Included in:
- SyntaxTree::Formatter
- Defined in:
- lib/syntax_tree/formatter/single_quotes.rb
Overview
This module overrides the quote method on the formatter to use single quotes for everything instead of double quotes.
Instance Method Summary collapse
Instance Method Details
#quote ⇒ Object
8 9 10 |
# File 'lib/syntax_tree/formatter/single_quotes.rb', line 8 def quote "'" end |