Class: Nanoc::Core::ProcessingAction
- Inherits:
-
Object
- Object
- Nanoc::Core::ProcessingAction
show all
- Defined in:
- lib/nanoc/core/processing_action.rb
Instance Method Summary
collapse
Instance Method Details
#inspect ⇒ Object
14
15
16
17
18
19
20
|
# File 'lib/nanoc/core/processing_action.rb', line 14
def inspect
format(
'<%s %s>',
self.class.to_s,
serialize[1..].map(&:inspect).join(', '),
)
end
|
#serialize ⇒ Object
6
7
8
|
# File 'lib/nanoc/core/processing_action.rb', line 6
def serialize
raise NotImplementedError.new('Nanoc::ProcessingAction subclasses must implement #serialize and #to_s')
end
|
#to_s ⇒ Object
10
11
12
|
# File 'lib/nanoc/core/processing_action.rb', line 10
def to_s
raise NotImplementedError.new('Nanoc::ProcessingAction subclasses must implement #serialize and #to_s')
end
|