lib/nanoc/base/entities/action_sequence.rb in nanoc-4.9.6 vs lib/nanoc/base/entities/action_sequence.rb in nanoc-4.9.7
- old
+ new
@@ -38,11 +38,15 @@
contract C::None => Array
def paths
snapshot_actions.map { |a| [a.snapshot_names, a.paths] }
end
- # TODO: Add contract
memoized def serialize
+ serialize_uncached
+ end
+
+ contract C::None => Array
+ def serialize_uncached
to_a.map(&:serialize)
end
contract C::Func[Nanoc::Int::ProcessingAction => C::Any] => self
def each