module Embrace::StringMethods
Public Instance Methods
brace(style: BRACES, **options)
click to toggle source
# File lib/embrace/string_methods.rb, line 11 def brace(style: BRACES, **options) Embrace.bracket(self, style: style, **options) end
bracket(style: BRACKETS, **options)
click to toggle source
# File lib/embrace/string_methods.rb, line 3 def bracket(style: BRACKETS, **options) Embrace.bracket(self, style: style, **options) end
double_quote(style: DOUBLE_QUOTES, **options)
click to toggle source
# File lib/embrace/string_methods.rb, line 19 def double_quote(style: DOUBLE_QUOTES, **options) Embrace.bracket(self, style: style, **options) end
Also aliased as: quote
parenthesize(style: PARENTHESES, **options)
click to toggle source
# File lib/embrace/string_methods.rb, line 7 def parenthesize(style: PARENTHESES, **options) Embrace.bracket(self, style: style, **options) end
single_quote(style: SINGLE_QUOTES, **options)
click to toggle source
# File lib/embrace/string_methods.rb, line 15 def single_quote(style: SINGLE_QUOTES, **options) Embrace.bracket(self, style: style, **options) end