Sha256: 2a585401a25a1f3af82610ab652395a394a1c01be3109542a9896bced5f48801

Contents?: true

Size: 217 Bytes

Versions: 4

Compression:

Stored size: 217 Bytes

Contents

class Pathname
  def mkdir_p
    FileUtils.mkdir_p(self)
  end

  def touch_p
    dirname.mkdir_p
    touch
  end

  def touch
    FileUtils.touch(self)
  end

  def cp_r(dest)
    FileUtils.cp_r(self, dest)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bowline-bundler-0.0.4 spec/support/core_ext.rb
bowline-bundler-0.0.3 spec/support/core_ext.rb
bowline-bundler-0.0.2 spec/support/core_ext.rb
bowline-bundler-0.0.1 spec/support/core_ext.rb