Class: Allocine::Web
- Inherits:
-
Object
- Object
- Allocine::Web
- Defined in:
- lib/allocine/web.rb
Instance Attribute Summary
- - (Object) data readonly Returns the value of attribute data.
Instance Method Summary
- - (Web) initialize(urls) constructor A new instance of Web.
Constructor Details
- (Web) initialize(urls)
A new instance of Web
4 5 6 |
# File 'lib/allocine/web.rb', line 4 def initialize(urls) @data = download(urls) end |
Instance Attribute Details
- (Object) data (readonly)
Returns the value of attribute data
3 4 5 |
# File 'lib/allocine/web.rb', line 3 def data @data end |