Parent

Methods

Rabl::Digestor

Public Class Methods

digest(options = {}) click to toggle source
# File lib/rabl/digestor.rb, line 6
def self.digest(options = {})
  cache_key = [options[:name]] + Array.wrap(options[:dependencies])
  @@cache[cache_key.join('.')] ||= begin
    Digestor.new({ :name => options[:name], :finder => options[:finder] }.merge!(options)).digest
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.