Class: Laszlo
- Inherits:
-
Object
- Object
- Laszlo
- Defined in:
- lib/merb-laszlo.rb
Class Method Summary collapse
Class Method Details
.app_name ⇒ Object
12 13 14 |
# File 'lib/merb-laszlo.rb', line 12 def self.app_name File.basename(File.(Merb.root)) end |
.file_name ⇒ Object
8 9 10 |
# File 'lib/merb-laszlo.rb', line 8 def self.file_name Digest::MD5.hexdigest(rand(Time.now.to_i).to_s) end |