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