mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 03:49:49 -05:00
6 lines
79 B
Ruby
6 lines
79 B
Ruby
class String
|
|
def undent
|
|
gsub(/^.{#{slice(/^ +/).length}}/, '')
|
|
end
|
|
end
|