Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/dotfile_linker.rb
Instance Method Summary collapse
Instance Method Details
#human_filename ⇒ Object
7 8 9 |
# File 'lib/dotfile_linker.rb', line 7 def human_filename self.sub(/^#{ ENV['HOME'] }/, '~') end |