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