Sha256: b8fc0821c84285198b98b76618f6653199975db3ef7d4a19c21341c0c26e5538
Contents?: true
Size: 389 Bytes
Versions: 6
Compression:
Stored size: 389 Bytes
Contents
module Bookingit module Views class HeaderView < BaseView self.template_name = 'header.html' attr_reader :stylesheets, :theme def initialize(stylesheets, theme, config) @stylesheets = stylesheets.map { |stylesheet| OpenStruct.new(path: stylesheet, media: "all") } @theme = theme super(config) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems