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
28 29 30 31 |
# File 'lib/raykit/zip.rb', line 28 def exclude_glob(glob) @exclude_globs << glob self end |
#include_glob(glob) ⇒ Object
23 24 25 26 |
# File 'lib/raykit/zip.rb', line 23 def include_glob(glob) @include_globs << glob self end |
#source_dir(dir) ⇒ Object
18 19 20 21 |
# File 'lib/raykit/zip.rb', line 18 def source_dir(dir) @source_dir = dir self end |