Class: Tobacco::Inhaler
- Inherits:
-
Object
- Object
- Tobacco::Inhaler
- Defined in:
- lib/tobacco/inhaler.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url = '') ⇒ Inhaler
constructor
A new instance of Inhaler.
- #read ⇒ Object
Constructor Details
#initialize(url = '') ⇒ Inhaler
Returns a new instance of Inhaler.
5 6 7 |
# File 'lib/tobacco/inhaler.rb', line 5 def initialize(url = '') self.url = url end |
Instance Attribute Details
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/tobacco/inhaler.rb', line 3 def url @url end |