module Wildsight::Agent

Public Class Methods

default() click to toggle source
# File lib/wildsight/agent/agent.rb, line 11
def self.default
  find
end
find(name = 'default') click to toggle source
# File lib/wildsight/agent/agent.rb, line 15
def self.find(name = 'default')
  @agents ||= {}
  @agents[name] ||= Wildsight::Agent::Agent.new
end