? GR0V Shell

GR0V shell

Linux server122.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64

Path : /opt/alt/ruby23/lib64/ruby/gems/2.3.0/gems/rake-10.4.2/lib/rake/ext/
File Upload :
Current File : //opt/alt/ruby23/lib64/ruby/gems/2.3.0/gems/rake-10.4.2/lib/rake/ext/pathname.rb

require 'rake/ext/core'
require 'pathname'

class Pathname

  rake_extension("ext") do
    # Return a new Pathname with <tt>String#ext</tt> applied to it.
    #
    # This Pathname extension comes from Rake
    def ext(newext='')
      Pathname.new(Rake.from_pathname(self).ext(newext))
    end
  end

  rake_extension("pathmap") do
    # Apply the pathmap spec to the Pathname, returning a
    # new Pathname with the modified paths.  (See String#pathmap for
    # details.)
    #
    # This Pathname extension comes from Rake
    def pathmap(spec=nil, &block)
      Pathname.new(Rake.from_pathname(self).pathmap(spec, &block))
    end
  end
end

T1KUS90T
  root-grov@198.54.114.191:~$