Class: Ruboty::Handlers::Faker

Inherits:
Base
  • Object
show all
Defined in:
lib/ruboty/faker.rb

Instance Method Summary collapse

Instance Method Details

#name(message) ⇒ Object



19
20
21
# File 'lib/ruboty/faker.rb', line 19

def name(message)
  message.reply ::Faker::Name.name
end

#quote(message) ⇒ Object



23
24
25
# File 'lib/ruboty/faker.rb', line 23

def quote(message)
  message.reply ::Faker::Quote.matz
end