Class: Chrome

Inherits:
Object
  • Object
show all
Defined in:
lib/chrome-fetcher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChrome

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

#pathObject

Returns the value of attribute path.



2
3
4
# File 'lib/chrome-fetcher.rb', line 2

def path
  @path
end