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-4.0.0 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.3.0 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.25 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.24 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.23 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.22 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.21 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.20 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.19 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.18 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.17 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.16 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.15 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.14 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.13 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.12 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.11 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.10 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.9 lib/testcentricity_web/world_extensions.rb
testcentricity_web-3.2.8 lib/testcentricity_web/world_extensions.rb