Class: ActiveRecord::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/core/active_record.rb

Constant Summary collapse

ModelLog =
[]

Instance Method Summary collapse

Instance Method Details

#fb(msg, label = nil) ⇒ Object



4
5
6
# File 'lib/core/active_record.rb', line 4

def fb msg, label=nil
  ModelLog << {msg: msg, label:label}
end