Class: SandiMeter::JsonFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/sandi_meter/json_formatter.rb

Instance Method Summary collapse

Instance Method Details


3
4
5
# File 'lib/sandi_meter/json_formatter.rb', line 3

def print_data(data)
  puts JSON.dump(data)
end

7
8
9
# File 'lib/sandi_meter/json_formatter.rb', line 7

def print_log(data)
  puts JSON.dump(data)
end