Sha256: 80576cff86c3911e53e1e32dc82ac0d15b61f50c4e61949258202b9101ca0c17

Contents?: true

Size: 845 Bytes

Versions: 160

Compression:

Stored size: 845 Bytes

Contents

module WorldData
  def environs
    @environs ||= TestCentricity::EnvironData.new
  end

  # instantiate and register all data objects specified in data_objects method
  def instantiate_data_objects
    # return if data objects have already been instantiated and registered
    return if TestCentricity::DataManager.loaded?

    # register and instantiate all data objects
    eval(TestCentricity::DataManager.register_data_objects(data_objects))
  end
end


module WorldPages
  # instantiate and register all page objects specified in page_objects method
  def instantiate_page_objects
    # return if page objects have already been instantiated and registered
    return if TestCentricity::PageManager.loaded?

    # register and instantiate all page objects
    eval(TestCentricity::PageManager.register_page_objects(page_objects))
  end
end

Version data entries

160 entries across 160 versions & 2 rubygems

Version Path
testcentricity_web-3.0.3 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.0.2 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.0.1 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.0.0 lib/testcentricity_web/world_extensions.rb
testcentricity-2.4.3 lib/testcentricity/world_extensions.rb
testcentricity_web-2.4.3 lib/testcentricity_web/world_extensions.rb
testcentricity-2.4.2 lib/testcentricity/world_extensions.rb
testcentricity_web-2.4.2 lib/testcentricity_web/world_extensions.rb
testcentricity-2.4.1 lib/testcentricity/world_extensions.rb
testcentricity_web-2.4.1 lib/testcentricity_web/world_extensions.rb
testcentricity-2.4.0 lib/testcentricity/world_extensions.rb
testcentricity_web-2.4.0 lib/testcentricity_web/world_extensions.rb
testcentricity-2.3.19 lib/testcentricity/world_extensions.rb
testcentricity_web-2.3.19 lib/testcentricity_web/world_extensions.rb
testcentricity-2.3.18 lib/testcentricity/world_extensions.rb
testcentricity_web-2.3.18 lib/testcentricity_web/world_extensions.rb
testcentricity-2.3.17 lib/testcentricity/world_extensions.rb
testcentricity_web-2.3.17 lib/testcentricity_web/world_extensions.rb
testcentricity-2.3.16.1 lib/testcentricity/world_extensions.rb
testcentricity-2.3.16 lib/testcentricity/world_extensions.rb