Sha256: 5279856c8cd5a4163da613ca4ac059bbc325db15ccd7b670c40f648d21f0ecff

Contents?: true

Size: 181 Bytes

Versions: 5

Compression:

Stored size: 181 Bytes

Contents

class Pathname
  def cotta_parent
    parent_path = parent
    if (parent_path == self || parent_path.to_s == '..')
      return nil
    end
    return parent_path
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
cotta-1.0.0 lib/cotta/impl/cotta_pathname.rb
BuildMaster-1.0.6 lib/buildmaster/cotta/cotta_pathname.rb
BuildMaster-1.1.12 lib/buildmaster/cotta/cotta_pathname.rb
BuildMaster-1.0.9 lib/buildmaster/cotta/cotta_pathname.rb
BuildMaster-1.1.9 lib/buildmaster/cotta/cotta_pathname.rb