class Passbook::Assets
Public Class Methods
new(dict)
click to toggle source
Calls superclass method
# File lib/passbook/assets.rb, line 6 def initialize(dict) super dict.map { |n,p| (p =~ %r[^https?://\S+] ? RemoteFile : StaticFile).new(n,p) } end