Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/pageify/string.rb
Instance Method Summary collapse
Instance Method Details
#lspace ⇒ Object
2 3 4 |
# File 'lib/pageify/string.rb', line 2 def lspace self[/\A */].size end |
#strip_quotes ⇒ Object
6 7 8 |
# File 'lib/pageify/string.rb', line 6 def strip_quotes self.gsub("\"", "") end |