lib/ronin/pending_context.rb in ronin-0.1.0 vs lib/ronin/pending_context.rb in ronin-0.1.1

- old
+ new

@@ -36,7 +36,15 @@ def initialize(path) @path = File.expand_path(path) @blocks = {} end + # + # Iterates over each block in the pending context, passing their name + # and value to the given _block_. + # + def each_block(&block) + @blocks.each(&block) + end + end end