lib/nanoc/base/compilation/rules_collection.rb
def make_rule_memory_serializable(rs)
      rs.map do |r|
        if r[0] == :filter
          [ r[0], r[1], r[2].to_a.map { |a| a.inspect }  ]
        else
          r
        end
      end
    end
# Makes the given rule memory serializable by calling `#inspect` on the
# filter arguments, so that objects such as classes and filenames can be
# serialized.
#
# @param [Array] rs The rule memory for a certain item rep
#
# @return [Array] The serializable rule memory
Makes the given rule memory serializable by calling `#inspect` on the
filter arguments, so that objects such as classes and filenames can be
serialized.
Makes the given rule memory serializable by calling ` #inspect ` on the filter arguments so that objects such as classes and filenames can be serialized .
def make_rule_memory_serializable(rs)
      rs.map do |r|
        if r[0] == :filter
          [ r[0], r[1], r[2].to_a.map { |a| a.inspect }  ]
        else
          r
        end
      end
    end
def make_rule_memory_serializable ( rs ) rs . map do | r | if r [ 0 ] == :filter [ r [ 0 ] , r [ 1 ] , r [ 2 ] . to_a . map { | a | a . inspect } ] else r end end end
Makes the given rule memory serializable by calling `#inspect` on the
filter arguments, so that objects such as classes and filenames can be
serialized.
Makes the given rule memory serializable by calling ` #inspect ` on the filter arguments so that objects such as classes and filenames can be serialized .
The serializable rule memory
The serializable rule memory
Array
rs
rs The rule memory for a certain item rep
rs The rule memory for a certain item rep