Class: CypressRails::Open

Inherits:
Object
  • Object
show all
Defined in:
lib/cypress-rails/open.rb

Instance Method Summary collapse

Constructor Details

#initializeOpen

Returns a new instance of Open.



6
7
8
# File 'lib/cypress-rails/open.rb', line 6

def initialize
  @launches_cypress = LaunchesCypress.new
end

Instance Method Details

#call(config = Config.new) ⇒ Object



10
11
12
# File 'lib/cypress-rails/open.rb', line 10

def call(config = Config.new)
  @launches_cypress.call("open", config)
end