Module: Embrace::StringMethods
- Defined in:
- lib/embrace/string_methods.rb
Instance Method Summary collapse
- #brace(style: BRACES, **options) ⇒ Object
- #bracket(style: BRACKETS, **options) ⇒ Object
- #parenthesize(style: PARENTHESES, **options) ⇒ Object
Instance Method Details
#brace(style: BRACES, **options) ⇒ Object
11 12 13 |
# File 'lib/embrace/string_methods.rb', line 11 def brace(style: BRACES, **) Embrace.bracket(self, style: style, **) end |
#bracket(style: BRACKETS, **options) ⇒ Object
3 4 5 |
# File 'lib/embrace/string_methods.rb', line 3 def bracket(style: BRACKETS, **) Embrace.bracket(self, style: style, **) end |
#parenthesize(style: PARENTHESES, **options) ⇒ Object
7 8 9 |
# File 'lib/embrace/string_methods.rb', line 7 def parenthesize(style: PARENTHESES, **) Embrace.bracket(self, style: style, **) end |