Sha256: f01557ea597ebb7fdcc43e0bbbf66bd29199929535ee31b7591f76e08231804c
Contents?: true
Size: 334 Bytes
Versions: 1
Compression:
Stored size: 334 Bytes
Contents
require 'find' module RoCommands module DSL module File def dir?(path) test(?d, path) end # file? def file?(path) test(?f, path) end def find(path) Find.find(path).to_a end # size def size(path) test(?s, path) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ro_commands-0.0.1 | lib/ro_commands/dsl/file.rb |