Sha256: 79075995442b31cb4938336ddd06cd2d26365129ae51febe042d4bf45b696c5d
Contents?: true
Size: 552 Bytes
Versions: 32
Compression:
Stored size: 552 Bytes
Contents
# frozen_string_literal: true module Nanoc::Int::ProcessingActions class Layout < Nanoc::Int::ProcessingAction # layout '/foo.erb' # layout '/foo.erb', params attr_reader :layout_identifier attr_reader :params def initialize(layout_identifier, params) @layout_identifier = layout_identifier @params = params end def serialize [:layout, @layout_identifier, Nanoc::Int::Checksummer.calc(@params)] end def to_s "layout #{@layout_identifier.inspect}, #{@params.inspect}" end end end
Version data entries
32 entries across 32 versions & 1 rubygems