Class: Higan::Uploader
- Inherits:
-
Object
- Object
- Higan::Uploader
- Defined in:
- lib/higan/uploader.rb
Instance Attribute Summary collapse
-
#elements ⇒ Object
Returns the value of attribute elements.
Instance Method Summary collapse
-
#initialize(elements) ⇒ Uploader
constructor
A new instance of Uploader.
- #to(name) ⇒ Object
Constructor Details
#initialize(elements) ⇒ Uploader
Returns a new instance of Uploader.
5 6 7 |
# File 'lib/higan/uploader.rb', line 5 def initialize(elements) self.elements = elements end |
Instance Attribute Details
#elements ⇒ Object
Returns the value of attribute elements.
3 4 5 |
# File 'lib/higan/uploader.rb', line 3 def elements @elements end |
Instance Method Details
#to(name) ⇒ Object
9 10 11 |
# File 'lib/higan/uploader.rb', line 9 def to(name) Higan.to(name, elements) end |