Sha256: 723ccba3304b47882546a14bfae29d7b141eaa78748c673ff7cdbb4ffaf1adb4
Contents?: true
Size: 552 Bytes
Versions: 15
Compression:
Stored size: 552 Bytes
Contents
module Nanoc::Int # @api private class OutdatednessRule include Nanoc::Int::ContractsSupport include Singleton def apply(_obj, _outdatedness_checker) raise NotImplementedError.new('Nanoc::Int::OutdatednessRule subclasses must implement ##reason, and #apply') end contract C::None => String def inspect "#{self.class.name}(#{reason})" end # TODO: remove def reason raise NotImplementedError.new('Nanoc::Int::OutdatednessRule subclasses must implement ##reason, and #apply') end end end
Version data entries
15 entries across 15 versions & 1 rubygems