Module: Chirp::FSSugar
- Included in:
- Application, EachProcessor
- Defined in:
- lib/chirp/fs_expression.rb
Instance Method Summary collapse
- #all ⇒ Object
- #bigger(size) ⇒ Object
- #contains(pattern) ⇒ Object
- #dir? ⇒ Boolean
- #except(expr) ⇒ Object
- #file? ⇒ Boolean
- #length(n) ⇒ Object
- #named(name) ⇒ Object
- #none ⇒ Object
- #smaller(size) ⇒ Object
Instance Method Details
#all ⇒ Object
135 136 137 |
# File 'lib/chirp/fs_expression.rb', line 135 def all All.new end |
#bigger(size) ⇒ Object
143 144 145 |
# File 'lib/chirp/fs_expression.rb', line 143 def bigger(size) Bigger.new(size) end |
#contains(pattern) ⇒ Object
155 156 157 |
# File 'lib/chirp/fs_expression.rb', line 155 def contains(pattern) Contains.new(pattern) end |
#except(expr) ⇒ Object
171 172 173 |
# File 'lib/chirp/fs_expression.rb', line 171 def except(expr) Not.new(expr) end |
#length(n) ⇒ Object
159 160 161 |
# File 'lib/chirp/fs_expression.rb', line 159 def length(n) SameSize.new(n) end |
#named(name) ⇒ Object
151 152 153 |
# File 'lib/chirp/fs_expression.rb', line 151 def named(name) Named.new(name) end |
#none ⇒ Object
139 140 141 |
# File 'lib/chirp/fs_expression.rb', line 139 def none None.new end |