Sha256: c8d49fe113d5120f35fa98d775fd8be8232412db4ec4326dab48eba79877193a
Contents?: true
Size: 542 Bytes
Versions: 1
Compression:
Stored size: 542 Bytes
Contents
module Ego class Robot attr_reader :name, :options def initialize options, formatter @name = options.robot_name @options = options @formatter = formatter end def respond message @formatter.robot_respond message true end def it message @formatter.robot_action message true end def debug message return unless @options.verbose @formatter.debug message true end def stop true end def continue false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ego-0.1.0 | lib/ego/robot.rb |