Class: Browser::Meta::Base
- Inherits:
-
Object
- Object
- Browser::Meta::Base
- Defined in:
- lib/browser/meta/base.rb
Instance Attribute Summary collapse
-
#browser ⇒ Object
readonly
Set the browser instance.
Instance Method Summary collapse
-
#initialize(browser) ⇒ Base
constructor
A new instance of Base.
- #meta ⇒ Object
- #to_a ⇒ Object
Constructor Details
#initialize(browser) ⇒ Base
Returns a new instance of Base.
31 32 33 |
# File 'lib/browser/meta/base.rb', line 31 def initialize(browser) @browser = browser end |
Instance Attribute Details
#browser ⇒ Object (readonly)
Set the browser instance.
29 30 31 |
# File 'lib/browser/meta/base.rb', line 29 def browser @browser end |
Instance Method Details
#meta ⇒ Object
35 36 37 |
# File 'lib/browser/meta/base.rb', line 35 def nil end |
#to_a ⇒ Object
39 40 41 |
# File 'lib/browser/meta/base.rb', line 39 def to_a .to_s.squeeze(" ").split end |