Class: Juggle::Op::Coffee
- Inherits:
-
Base
- Object
- Base
- Juggle::Op::Coffee
show all
- Defined in:
- lib/juggle/ops/coffee.rb
Instance Attribute Summary collapse
Attributes inherited from Base
#env, #opts
Instance Method Summary
collapse
Methods inherited from Base
default_opts, #initialize
Instance Attribute Details
#glob ⇒ Object
Returns the value of attribute glob.
5
6
7
|
# File 'lib/juggle/ops/coffee.rb', line 5
def glob
@glob
end
|
Instance Method Details
#make(glob) ⇒ Object
7
8
9
|
# File 'lib/juggle/ops/coffee.rb', line 7
def make(glob)
self.glob = glob
end
|
#manifest ⇒ Object
15
16
17
|
# File 'lib/juggle/ops/coffee.rb', line 15
def manifest
Dir[glob].map {|f| ::File.expand_path(f)}
end
|
#render ⇒ Object
11
12
13
|
# File 'lib/juggle/ops/coffee.rb', line 11
def render
coffee glob
end
|