module Mmtrix::Agent::Agent::ClassMethods
contains all the class-level methods for Mmtrix::Agent::Agent
Public Instance Methods
instance()
click to toggle source
Should only be called by Mmtrix::Control
- returns a memoized singleton instance of the agent, creating one if needed
# File lib/mmtrix/agent/agent.rb, line 95 def instance @instance ||= self.new end