vendor/bundle/ruby/2.1.0/gems/stamp-0.5.0/lib/stamp.rb
# Memoizes the set of emitter objects for the given +example+ in
# order to improve performance.
Memoizes the set of emitter objects for the given +example+ in
order to improve performance.
Memoizes the set of emitter objects for the given + example + in order to improve performance .
def memoize_stamp_emitters(example)
    @@memoized_stamp_emitters ||= {}
    @@memoized_stamp_emitters.clear if @@memoized_stamp_emitters.size > MEMOIZATION_CAP
    @@memoized_stamp_emitters[example] ||= stamp_emitters(example)
  end
def memoize_stamp_emitters ( example ) @@memoized_stamp_emitters ||= { } @@memoized_stamp_emitters . clear if @@memoized_stamp_emitters . size > MEMOIZATION_CAP @@memoized_stamp_emitters [ example ] ||= stamp_emitters ( example ) end
Memoizes the set of emitter objects for the given +example+ in
order to improve performance.
Memoizes the set of emitter objects for the given + example + in order to improve performance .
example