class QuestioningAlex

Constants

VERSION

Public Class Methods

said(string) click to toggle source
# File lib/questioning_alex.rb, line 5
def self.said(string)
  if string.include? '?'
    %x( say "Stop asking questions, Alex" )
    'Stop asking questions, Alex'
  else
    %x( say "Stop making silly statements, Alex" )
    'Stop making silly statements, Alex'
  end
end