Class: TheMask::Connect
- Inherits:
-
Object
- Object
- TheMask::Connect
- Defined in:
- lib/the_mask/connect.rb
Instance Attribute Summary collapse
-
#socket ⇒ Object
Returns the value of attribute socket.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Connect
constructor
A new instance of Connect.
- #open_url(url) ⇒ Object
Constructor Details
Instance Attribute Details
#socket ⇒ Object
Returns the value of attribute socket.
3 4 5 |
# File 'lib/the_mask/connect.rb', line 3 def socket @socket end |
Instance Method Details
#open_url(url) ⇒ Object
9 10 11 |
# File 'lib/the_mask/connect.rb', line 9 def open_url(url) @socket.open_url url end |