Sha256: dc2cd2dca1caf32e8405dbf47045a618f675cf1fc4720556f9eaed3928140717
Contents?: true
Size: 495 Bytes
Versions: 41
Compression:
Stored size: 495 Bytes
Contents
# frozen_string_literal: true module Nanoc::Int class ProcessingAction def serialize raise NotImplementedError.new('Nanoc::ProcessingAction subclasses must implement #serialize and #to_s') end def to_s raise NotImplementedError.new('Nanoc::ProcessingAction subclasses must implement #serialize and #to_s') end def inspect format( '<%s %s>', self.class.to_s, serialize[1..-1].map(&:inspect).join(', '), ) end end end
Version data entries
41 entries across 41 versions & 1 rubygems