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-3.0.3 lib/backports/1.9.2/dir.rb
backports-3.0.2 lib/backports/1.9.2/dir.rb
backports-3.0.1 lib/backports/1.9.2/dir.rb
backports-3.0.0 lib/backports/1.9.2/dir.rb
backports-2.8.2 lib/backports/1.9.2/dir.rb
backports-2.8.1 lib/backports/1.9.2/dir.rb
backports-2.8.0 lib/backports/1.9.2/dir.rb
backports-2.7.1 lib/backports/1.9.2/dir.rb
backports-2.7.0 lib/backports/1.9.2/dir.rb
backports-2.6.7 lib/backports/1.9.2/dir.rb
backports-2.6.6 lib/backports/1.9.2/dir.rb
backports-2.6.5 lib/backports/1.9.2/dir.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/dir.rb
backports-2.6.4 lib/backports/1.9.2/dir.rb
backports-2.6.3 lib/backports/1.9.2/dir.rb
backports-2.6.2 lib/backports/1.9.2/dir.rb
backports-2.6.1 lib/backports/1.9.2/dir.rb
backports-2.6.0 lib/backports/1.9.2/dir.rb
backports-2.5.3 lib/backports/1.9.2/dir.rb
backports-2.5.2 lib/backports/1.9.2/dir.rb