Class: Juggle::Op::Remote
- Inherits:
-
Base
- Object
- Base
- Juggle::Op::Remote
show all
- Defined in:
- lib/juggle/ops/remote.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
#url ⇒ Object
Returns the value of attribute url.
7
8
9
|
# File 'lib/juggle/ops/remote.rb', line 7
def url
@url
end
|
Instance Method Details
#make(url) ⇒ Object
9
10
11
|
# File 'lib/juggle/ops/remote.rb', line 9
def make(url)
self.url = url
end
|
#manifest ⇒ Object
17
18
19
|
# File 'lib/juggle/ops/remote.rb', line 17
def manifest
raise "Cannot cache remote url #{url}"
end
|
#render ⇒ Object
13
14
15
|
# File 'lib/juggle/ops/remote.rb', line 13
def render
open(url).read
end
|