Class: Straps
- Inherits:
-
Object
- Object
- Straps
- Defined in:
- lib/straps.rb
Class Method Summary collapse
Class Method Details
.debug(message) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/straps.rb', line 3 def self.debug() t = Time.now = t.strftime("%a, %b %d, %Y | %I:%M:%S%p") + "\n" += + "\n\n" File.open( Rails.root.join("log/straps.log"), 'a') {|f| f.write() } end |