Class: Nanoc::Int::RuleMemoryAction Private
- Inherits:
-
Object
- Object
- Nanoc::Int::RuleMemoryAction
- Defined in:
- lib/nanoc/base/entities/rule_memory_action.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
Nanoc::Int::RuleMemoryActions::Filter, Nanoc::Int::RuleMemoryActions::Layout, Nanoc::Int::RuleMemoryActions::Snapshot
Instance Method Summary collapse
- #inspect ⇒ Object private
- #serialize ⇒ Object private
- #to_s ⇒ Object private
Instance Method Details
#inspect ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
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
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
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
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
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 |