module Tildoc

Constants

VERSION

Public Instance Methods

~() click to toggle source
# File lib/tildoc.rb, line 4
def ~
  margin = scan(/^[ \t]*(?=\S)/).map(&:size).min || 0
  gsub(/^[ \t]{#{margin}}/, '')
end