module SuperAwesomePrint

Constants

VERSION

Attributes

configuration[W]

Public Class Methods

blank_lines_bottom() click to toggle source
# File lib/super_awesome_print.rb, line 56
def self.blank_lines_bottom
  config.blank_lines_bottom.times { puts }
end
blank_lines_top() click to toggle source
# File lib/super_awesome_print.rb, line 49
def self.blank_lines_top
  # The first puts has no visible effect
  # So we want to puts once regardless of config
  puts
  config.blank_lines_top.times { puts }
end
config() click to toggle source
# File lib/super_awesome_print.rb, line 60
def self.config
  SuperAwesomePrint.configuration
end
configuration() click to toggle source
# File lib/super_awesome_print.rb, line 64
def self.configuration
  @configuration ||= Configuration.new
end
configure() { |configuration| ... } click to toggle source
# File lib/super_awesome_print.rb, line 68
def self.configure
  yield configuration
end
print_caller_lines(caller_array) click to toggle source