Sha256: 636a6eca46623d2a0effc587745ab4e6a0bf16fe5328418bf250ab206db055f5

Contents?: true

Size: 219 Bytes

Versions: 1

Compression:

Stored size: 219 Bytes

Contents

module Ro
  module Util
    def realpath(path)
      begin
        Pathname.new(path.to_s).expand_path.realpath.to_s
      rescue Object
        File.expand_path(path.to_s)
      end
    end

    extend(self)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ro-1.0.0 lib/ro/util.rb