Sha256: 1eea88bba3b3425046ff237d3f24a3662949c7392e765ca6c057590cdb7c8960

Contents?: true

Size: 105 Bytes

Versions: 43

Compression:

Stored size: 105 Bytes

Contents

class << Dir
  def home(user = "")
    File.expand_path "~#{user}"
  end unless method_defined? :home
end

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
backports-1.16.3 lib/backports/1.9.2/dir.rb
backports-1.16.2 lib/backports/1.9.2/dir.rb
backports-1.16.1 lib/backports/1.9.2/dir.rb