Sha256: dc7877a2ed88753a8de5099abab6d7d6dfe88e6a44e53970d93c56aeacd9f961

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

require "hanko/asset_url_helper"

module Hanko
  class Init
    def initialize(digest_class = nil)
      @digest_class = digest_class
    end

    def ready
      Hanko::Fingerprint.digest_class = @digest_class if @digest_class
      ActionView::Base.prepend Hanko::AssetUrlHelper
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hanko-0.2.3 lib/hanko/init.rb