Method: Pathname#to_bash

Defined in:
lib/pik/core_ext/pathname.rb

#to_bashObject



13
14
15
# File 'lib/pik/core_ext/pathname.rb', line 13

def to_bash
  @path.tr('\\','/').sub(/^(.):/){|s| "/#{s[0,1].downcase}"}
end