Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/active_list.rb
Instance Method Summary collapse
Instance Method Details
#dig(depth = 1) ⇒ Object
36 37 38 |
# File 'lib/active_list.rb', line 36 def dig(depth = 1) return self.strip.gsub(/^/, ' ' * depth) + "\n" end |