class String

Public Instance Methods

dig(depth = 1) click to toggle source
# File lib/active_list.rb, line 75
def dig(depth = 1)
  strip.gsub(/^/, '  ' * depth) + "\n"
end