Class: Chrome
- Inherits:
-
Object
- Object
- Chrome
- Defined in:
- lib/chrome-fetcher.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize ⇒ Chrome
constructor
A new instance of Chrome.
Constructor Details
#initialize ⇒ Chrome
Returns a new instance of Chrome.
3 4 5 |
# File 'lib/chrome-fetcher.rb', line 3 def initialize() @path = "#{ Gem.loaded_specs['chrome-fetcher'].full_gem_path}/lib/chrome-linux/chrome" end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
2 3 4 |
# File 'lib/chrome-fetcher.rb', line 2 def path @path end |