Sha256: fb6a17005790438ac99385679c80d98e2bbdbabbd9d55f4be991f5fd545dac18
Contents?: true
Size: 509 Bytes
Versions: 32
Compression:
Stored size: 509 Bytes
Contents
# frozen_string_literal: true module Nanoc::Int::ProcessingActions class Filter < Nanoc::Int::ProcessingAction # filter :foo # filter :foo, params attr_reader :filter_name attr_reader :params def initialize(filter_name, params) @filter_name = filter_name @params = params end def serialize [:filter, @filter_name, Nanoc::Int::Checksummer.calc(@params)] end def to_s "filter #{@filter_name.inspect}, #{@params.inspect}" end end end
Version data entries
32 entries across 32 versions & 1 rubygems