class TweetyBird::Main

Public Instance Methods

art() click to toggle source
# File lib/tweety_bird/main.rb, line 18
def art
  w = ART.lines.map(&:length).sort.last
  w += 1 if w % 2 != 0
  puts
  puts 'Tweety Bird'.center(w)
  puts VERSION.center(w)
  puts
  puts SUMMARY.center(w)
  puts "\n\n\n"
  puts ART
  puts "\n\n\n"
end
server() click to toggle source
# File lib/tweety_bird/main.rb, line 58
def server
  App.config! options
  App.run!
  at_exit do
    App.close!
  end
end
version() click to toggle source
# File lib/tweety_bird/main.rb, line 12
def version
  puts VERSION
end