Parent

Class/Module Index [+]

Quicksearch

Pathname

Public Class Methods

receive(obj) click to toggle source
# File lib/gorillib/pathname.rb, line 89
def self.receive(obj)
  return obj if obj.nil?
  obj.is_a?(self) ? obj : new(obj)
end

Public Instance Methods

corename() click to toggle source

@return the basename without extension (using self.extname as the extension)

# File lib/gorillib/pathname.rb, line 95
def corename
  basename(self.extname)
end
inspect_compact() click to toggle source

@return [String] compact string rendering

# File lib/gorillib/pathname.rb, line 100
def inspect_compact() to_path.dump ; end

[Validate]

Generated with the Darkfish Rdoc Generator 2.