class Brewer::Stats::Formatter

Attributes

log_contents[RW]

Public Class Methods

new() click to toggle source
# File lib/brewer/stats/formatter.rb, line 7
def initialize
  @log_contents = {}
end

Public Instance Methods

get_log_contents() click to toggle source
# File lib/brewer/stats/formatter.rb, line 11
def get_log_contents
  @log_contents = YAML.load(File.open($log_file))
end