Module: Gridium

Defined in:
lib/log.rb,
lib/s3.rb,
lib/page.rb,
lib/gridium.rb,
lib/testrail.rb,
lib/gridium/version.rb

Overview

Singleton Logger class

Defined Under Namespace

Classes: Config, ElementExtensions, ElementVerification, GridiumS3, InvalidTypeError, Log, Page, TestRail

Constant Summary collapse

VERSION =
"1.2.#{ENV['TRAVIS_BUILD_NUMBER']}"

Class Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



15
16
17
# File 'lib/gridium.rb', line 15

def config
  @config
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



18
19
20
21
# File 'lib/gridium.rb', line 18

def self.configure
  self.config ||= Config.new
  yield config
end

Instance Method Details

#refreshObject



221
222
223
224
# File 'lib/page.rb', line 221

def refresh
  Driver.refresh
  self.class.new
end