Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/aptly/string.rb
Instance Method Summary collapse
Instance Method Details
#quote ⇒ Object
2 3 4 5 |
# File 'lib/aptly/string.rb', line 2 def quote return '' if self.nil? "'" + self.gsub("'", '') + "'" end |