Module: HTTPalooza::Players
- Defined in:
- lib/httpalooza/players.rb,
lib/httpalooza/players/base.rb,
lib/httpalooza/players/curb.rb,
lib/httpalooza/players/curl.rb,
lib/httpalooza/players/lynx.rb,
lib/httpalooza/players/patron.rb,
lib/httpalooza/players/telnet.rb,
lib/httpalooza/players/unirest.rb,
lib/httpalooza/players/net_http.rb,
lib/httpalooza/players/selenium.rb,
lib/httpalooza/players/typhoeus.rb,
lib/httpalooza/players/http_party.rb,
lib/httpalooza/players/http_client.rb,
lib/httpalooza/players/rest_client.rb,
lib/httpalooza/players/user_browser.rb,
lib/httpalooza/players/em_http_request.rb
Defined Under Namespace
Classes: Base, CurbPlayer, CurlPlayer, EmHttpRequestPlayer, HTTPClientPlayer, HTTPartyPlayer, LynxPlayer, NetHTTPPlayer, PatronPlayer, RestClientPlayer, SeleniumPlayer, TelnetPlayer, TyphoeusPlayer, UnirestPlayer, UserBrowserPlayer
Class Attribute Summary collapse
-
.available ⇒ Object
readonly
Returns the value of attribute available.
Class Method Summary collapse
Class Attribute Details
.available ⇒ Object (readonly)
Returns the value of attribute available.
4 5 6 |
# File 'lib/httpalooza/players.rb', line 4 def available @available end |
Class Method Details
.add(klass) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/httpalooza/players.rb', line 6 def add(klass) @available ||= Set.new begin klass.dependencies.each do |depedency| require depedency end available.add(klass) rescue LoadError end end |