class Nanoc::Int::RuleMemoryAction

Public Instance Methods

inspect() click to toggle source
# File lib/nanoc/base/entities/rule_memory_action.rb, line 11
def inspect
  format(
    '<%s %s>',
    self.class.to_s,
    serialize[1..-1].map(&:inspect).join(', '),
  )
end
serialize() click to toggle source
# File lib/nanoc/base/entities/rule_memory_action.rb, line 3
def serialize
  raise NotImplementedError.new('Nanoc::RuleMemoryAction subclasses must implement #serialize and #to_s')
end
to_s() click to toggle source
# File lib/nanoc/base/entities/rule_memory_action.rb, line 7
def to_s
  raise NotImplementedError.new('Nanoc::RuleMemoryAction subclasses must implement #serialize and #to_s')
end