class BerkleeValencia::PRINTER

Public Class Methods

print_article(article) click to toggle source
# File lib/berklee_valencia/printer.rb, line 16
def self.print_article(article)
  Formatter::FORMATARTICLE.header(article)
  Formatter::FORMATARTICLE.body(article)
  Formatter::FORMATARTICLE.end(article)
end
print_article_categories() click to toggle source
# File lib/berklee_valencia/printer.rb, line 2
def self.print_article_categories
  BerkleeValencia::CATEGORY.all.each {|cat| puts "#{cat.i}. #{cat.title}"}
  puts ""
end
print_articles_list(category) click to toggle source
print_program(program) click to toggle source
print_programs_list() click to toggle source