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