Parent

YadisServiceManager

Attributes

current[R]
services[R]
session_key[R]
starting_url[R]
yadis_url[R]

Public Class Methods

new(starting_url, yadis_url, services) click to toggle source
# File lib/yadis/manager.rb, line 7
def initialize(starting_url, yadis_url, services)
  @starting_url = starting_url
  @yadis_url = yadis_url
  @services = services
  @current = nil
end

Public Instance Methods

for_url?(url) click to toggle source
# File lib/yadis/manager.rb, line 18
def for_url?(url)
  url == @starting_url or url == @yadis_url
end
length() click to toggle source
# File lib/yadis/manager.rb, line 26
def length
  @services.length
end
next() click to toggle source
# File lib/yadis/manager.rb, line 14
def next
  @current = @services.shift
end
started?() click to toggle source
# File lib/yadis/manager.rb, line 22
def started?
  not @current.nil?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.