class ChatBot::Bot

Public Class Methods

dislikes() click to toggle source
# File lib/ChatBot.rb, line 52
def self.dislikes
  bot_name = "Bianca"

  print "Bianca: Do you have any dislikes? >> "
  dislikes = gets.chomp

  print "Bianca: I also dislike #{dislikes}.\n"
end
hobbies() click to toggle source
# File lib/ChatBot.rb, line 16
def self.hobbies
  bot_name = "Bianca"

  print "Bianca: Do you have any hobbies? >> "
  hobbies = gets.chomp

  print "Bianca: Ah! #{hobbies} sounds like fun!\n"
end
jobs() click to toggle source
# File lib/ChatBot.rb, line 25
def self.jobs
  bot_name = "Bianca"

  print "Bianca: Do you have any jobs? >> "
  jobs = gets.chomp

  print "Bianca: #{jobs} sounds like a nice job.\n"
end
likes() click to toggle source
# File lib/ChatBot.rb, line 43
def self.likes
  bot_name = "Bianca"

  print "Bianca: What do you like? >> "
  likes = gets.chomp

  print "Bianca: I also like #{likes}.\n"
end
pets() click to toggle source
# File lib/ChatBot.rb, line 7
def self.pets
  bot_name = "Bianca"

  print "Bianca: Do you have any pets? >> "
  pets = gets.chomp

  print "Bianca: I also like #{pets}.\n"
end
skills() click to toggle source
# File lib/ChatBot.rb, line 34
def self.skills
  bot_name = "Bianca"

  print "Bianca: Do you have any skills? >> "
  skills = gets.chomp

  print "Bianca: I never met someone who had a skill in #{skills}.\n"
end
weather() click to toggle source
# File lib/ChatBot.rb, line 61
def self.weather
  bot_name = "Bianca"

  print "Bianca: What is the weather? >> "
  weather = gets.chomp

  print "Bianca: I suppose it must #{weather} then.\n"
end