Sha256: 0f95b1f790f55a3ccf3064ba46d91fac2855a2bdc5fde8482afd8f272d4ebaef

Contents?: true

Size: 401 Bytes

Versions: 11

Compression:

Stored size: 401 Bytes

Contents

module ServerHelpers
  def known_servers
    begin
      recall_fact(:known_servers)
    rescue
      memorize_fact(:known_servers, [])
    end
  end

  def seen_servers
    begin
      recall_fact(:seen_servers)
    rescue
      memorize_fact(:seen_servers, [])
    end
  end

  def first_server
    known_servers.first
  end

  def last_server
    known_servers.last
  end
end

World(ServerHelpers)

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
ey-core-3.6.0.autoscaling1 features/support/server_helpers.rb
ey-core-3.6.4 features/support/server_helpers.rb
ey-core-3.6.3 features/support/server_helpers.rb
ey-core-3.6.1 features/support/server_helpers.rb
groove-ey-core-3.6.3 features/support/server_helpers.rb
groove-ey-core-3.6.2 features/support/server_helpers.rb
groove-ey-core-3.6.1 features/support/server_helpers.rb
ey-core-3.5.0 features/support/server_helpers.rb
ey-core-3.4.4 features/support/server_helpers.rb
ey-core-3.4.2 features/support/server_helpers.rb
ey-core-3.4.1 features/support/server_helpers.rb