mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
6 lines
78 B
Ruby
6 lines
78 B
Ruby
![]() |
class String
|
||
|
def undent
|
||
|
gsub /^.{#{slice(/^ +/).length}}/, ''
|
||
|
end
|
||
|
end
|