module Sir

Constants

VERSION

Attributes

state[RW]

Public Class Methods

destroy_session(session) click to toggle source
# File lib/sir.rb, line 35
def self.destroy_session(session)
  session.driver.quit
end
run!(path, initial_state = {}) click to toggle source
# File lib/sir.rb, line 28
def self.run!(path, initial_state = {})
  parser = Sir::Parser.new(path, initial_state)
  result = parser.run
  destroy_session parser.wrapper.session rescue nil
  result
end