Class: Raykit::Zip
- Inherits:
-
Object
- Object
- Raykit::Zip
- Defined in:
- lib/raykit/zip.rb
Instance Method Summary collapse
- #exclude_glob(glob) ⇒ Object
- #include_glob(glob) ⇒ Object
-
#initialize(filename) ⇒ Zip
constructor
A new instance of Zip.
- #source_dir(dir) ⇒ Object
- #zip ⇒ Object
Constructor Details
Instance Method Details
#exclude_glob(glob) ⇒ Object
27 28 29 30 |
# File 'lib/raykit/zip.rb', line 27 def exclude_glob(glob) @exclude_globs << glob self end |
#include_glob(glob) ⇒ Object
22 23 24 25 |
# File 'lib/raykit/zip.rb', line 22 def include_glob(glob) @include_globs << glob self end |
#source_dir(dir) ⇒ Object
17 18 19 20 |
# File 'lib/raykit/zip.rb', line 17 def source_dir(dir) @source_dir=dir self end |