Class: Yamlt::Checker::Reporter

Inherits:
Object
  • Object
show all
Defined in:
lib/yamlt/checker/reporter.rb

Instance Method Summary collapse

Instance Method Details

#absent(key, old_value) ⇒ Object


9
10
11
12
# File 'lib/yamlt/checker/reporter.rb', line 9

def absent(key, old_value)
  print " * Key is absent: #{key}, old_value: "
  puts_value(old_value)
end

#unchanged(key, old_value) ⇒ Object


14
15
16
17
# File 'lib/yamlt/checker/reporter.rb', line 14

def unchanged(key, old_value)
  puts " * Key is unchanged: #{key}, old_value: "
  puts_value(old_value)
end