class Openra::IRCBot::Plugins::PointOne

Public Instance Methods

execute(m) click to toggle source
# File lib/openra/irc_bot/plugins/point_one.rb, line 9
def execute(m)
  m.reply "Gotta go, my #{nouns.sample} #{verbs.sample}"
end

Private Instance Methods

nouns() click to toggle source
# File lib/openra/irc_bot/plugins/point_one.rb, line 15
def nouns
  @nouns ||= Openra::IRCBot.dict('point_one.nouns')
end
verbs() click to toggle source
# File lib/openra/irc_bot/plugins/point_one.rb, line 19
def verbs
  @verbs ||= Openra::IRCBot.dict('point_one.verbs')
end