Methods

Class/Module Index [+]

Quicksearch

Ruote::MnemoWfidGenerator

Public Instance Methods

generate() click to toggle source
# File lib/ruote/id/mnemo_wfid_generator.rb, line 33
def generate

  raw = get_raw

  m = ((raw.to_f % 60 * 60 * 24) * 1000).to_i

  "#{raw.strftime('%Y%m%d')}-#{Rufus::Mnemo.from_integer(m)}"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.