class Ruboty::BrainfuckGenerator::Actions::Generate

Public Instance Methods

call() click to toggle source
# File lib/ruboty/brainfuck_generator/actions/generate.rb, line 5
def call
  message.reply(message[:text].bytes.map{|b|'>'+'+'*b+'.'}*'')
end