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