Module: LoggingHelpers

Defined in:
lib/coursegen/course/helpers/logging_helpers.rb

Overview

LoggingHelpers is used to debug log items.

Instance Method Summary collapse

Instance Method Details

#compiling(item) ⇒ Object



12
13
14
# File 'lib/coursegen/course/helpers/logging_helpers.rb', line 12

def compiling(item)
  # puts "* compiling #{item[:title]}"
end

#log_item_infoObject



3
4
5
6
7
8
9
10
# File 'lib/coursegen/course/helpers/logging_helpers.rb', line 3

def log_item_info
  puts
  puts "*** ITEM Info: #{item.identifier}"
  puts "Parent = #{item.parent}"
  puts "Children = #{item.children}"
  puts "Reps = #{item.reps}"
  pp item.attributes
end