Class: Pathname

Inherits:
Object show all
Defined in:
lib/eac_ruby_utils/patches/pathname/basename_sub.rb

Instance Method Summary collapse

Instance Method Details

#basename_subObject


6
7
8
# File 'lib/eac_ruby_utils/patches/pathname/basename_sub.rb', line 6

def basename_sub
  parent.join(yield(basename))
end