Module: Embrace::StringMethods

Defined in:
lib/embrace/string_methods.rb

Instance Method Summary collapse

Instance Method Details

#brace(style: BRACES, **options) ⇒ Object



11
12
13
# File 'lib/embrace/string_methods.rb', line 11

def brace(style: BRACES, **options)
  Embrace.bracket(self, style: style, **options)
end

#bracket(style: BRACKETS, **options) ⇒ Object



3
4
5
# File 'lib/embrace/string_methods.rb', line 3

def bracket(style: BRACKETS, **options)
  Embrace.bracket(self, style: style, **options)
end

#parenthesize(style: PARENTHESES, **options) ⇒ Object



7
8
9
# File 'lib/embrace/string_methods.rb', line 7

def parenthesize(style: PARENTHESES, **options)
  Embrace.bracket(self, style: style, **options)
end