Path: | lib/breakpoint.rb |
Last Update: | Sun Jun 04 18:11:44 CEST 2006 |
The Breakpoint library provides the convenience of being able to inspect and modify state, diagnose bugs all via IRB by simply setting breakpoints in your applications by the call of a method.
This library was written and is supported by me, Florian Gross. I can be reached at flgr@ccan.de and enjoy getting feedback about my libraries.
The whole library (including breakpoint_client.rb and binding_of_caller.rb) is licensed under the same license that Ruby uses. (Which is currently either the GNU General Public License or a custom one that allows for commercial usage.) If you for some good reason need to use this under another license please contact me.
# File lib/breakpoint.rb, line 570 570: def assert(&block) 571: Binding.of_caller do |context| 572: Breakpoint.assert(context, &block) 573: end 574: end