Method: Pathname#to_ruby

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

#to_rubyObject



9
10
11
# File 'lib/pik/core_ext/pathname.rb', line 9

def to_ruby
  @path.tr('\\','/').sub(/^(.):/){|s| s.upcase }
end