Sha256: 583ed85aa409e5c9516eeae485389380e7088e6d84011586189101379a23ccde
Contents?: true
Size: 323 Bytes
Versions: 1
Compression:
Stored size: 323 Bytes
Contents
class Pathname def touch(file = nil) if file (self + file).touch else FileUtils.touch self self end end alias_method :mkpath_without_argument, :mkpath def mkpath(name = nil) if name (self+name).mkpath else mkpath_without_argument self end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
file_scheduler-0.0.2 | spec/support/pathname.rb |