Class: Nanoc::Int::RuleMemoryAction
- Inherits:
-
Object
- Object
- Nanoc::Int::RuleMemoryAction
show all
- Defined in:
- lib/nanoc/base/entities/rule_memory_action.rb
Instance Method Summary
collapse
Instance Method Details
#inspect ⇒ Object
11
12
13
14
15
16
17
|
# 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 ⇒ Object
3
4
5
|
# 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 ⇒ Object
7
8
9
|
# 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
|