Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/vendor/extensions/string.rb
Instance Method Summary collapse
Instance Method Details
#to_ascii_plist ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/vendor/extensions/string.rb', line 3 def to_ascii_plist if length == 0 "\"\"" else match(/\-|\s|\+|\<|\$|\"|\[|\=|\*|@/) ? self.inspect : self end end |