Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/git_bpf/lib/git-helpers.rb
Instance Method Summary collapse
Instance Method Details
#undent ⇒ Object
70 71 72 |
# File 'lib/git_bpf/lib/git-helpers.rb', line 70 def undent gsub(/^.{#{slice(/^ +/).length}}/, '') end |