Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/pallet.rb
Instance Method Summary collapse
Instance Method Details
#margin(indicator = '|') ⇒ Object
113 114 115 |
# File 'lib/pallet.rb', line 113 def margin(indicator = '|') gsub(/^\s*#{Regexp.escape(indicator)}/, '') end |