Parent

Methods

Sprockets::ProcessedAsset::DependencyFile

Public Class Methods

new(pathname, mtime, digest) click to toggle source
    # File lib/sprockets/processed_asset.rb, line 77
77:         def initialize(pathname, mtime, digest)
78:           pathname = Pathname.new(pathname) unless pathname.is_a?(Pathname)
79:           mtime    = Time.parse(mtime) if mtime.is_a?(String)
80:           super
81:         end

Public Instance Methods

eql?(other) click to toggle source
    # File lib/sprockets/processed_asset.rb, line 83
83:         def eql?(other)
84:           other.is_a?(DependencyFile) &&
85:             pathname.eql?(other.pathname) &&
86:             mtime.eql?(other.mtime) &&
87:             digest.eql?(other.digest)
88:         end
hash() click to toggle source
    # File lib/sprockets/processed_asset.rb, line 90
90:         def hash
91:           pathname.to_s.hash
92:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.