Module: Narou::MonkyPatches::PathnameGlob

Defined in:
lib/extensions/monkey_patches/pathname.rb

Instance Method Summary collapse

Instance Method Details

#glob(pattern, flags = 0, &block) ⇒ Object

Pathname#glob は Ruby2.5 から実装された



13
14
15
# File 'lib/extensions/monkey_patches/pathname.rb', line 13

def glob(pattern, flags = 0, &block)
  Pathname.glob(self.join(pattern), flags, &block)
end