class Configuration

Attributes

blank_lines_bottom[RW]
blank_lines_top[RW]
caller_lines[RW]
log_file_path[RW]
root_path[RW]

Public Class Methods

new() click to toggle source
# File lib/super_awesome_print/configuration.rb, line 4
def initialize
  @caller_lines = 1
  @blank_lines_top = 0
  @blank_lines_bottom = 0
  @root_path = defined?(Rails) ? Rails.root.to_s : ''
  @log_file_path = @root_path.empty? ? Dir.pwd + '/sapf.log' : @root_path + '/log/sapf.log'
end