Class: Ariadne::Log

Inherits:
Object
  • Object
show all
Defined in:
lib/ariadne/log.rb

Constant Summary collapse

TEXTS =
{
  rank: :white,
  depth_dashes: :white,
  class_name: :green,
  prefix: :blue,
  method_name: :blue,
  parameters: :magenta,
  return_value_type: :yellow
}.freeze

Instance Method Summary collapse

Constructor Details

#initialize(seam) ⇒ Log



17
18
19
# File 'lib/ariadne/log.rb', line 17

def initialize(seam)
  @seam = seam
end

Instance Method Details

#callObject



21
22
23
24
# File 'lib/ariadne/log.rb', line 21

def call
  puts log
  write_log
end