Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/benchcc/ext/string.rb

Instance Method Summary collapse

Instance Method Details

#quote(char = '"') ⇒ Object



2
3
4
# File 'lib/benchcc/ext/string.rb', line 2

def quote(char = '"')
  char + self + char
end