# File power_assert-1.1.7/lib/power_assert.rb, line 55 def app_caller_locations caller_locations.drop_while {|i| internal_file?(i.path) }.take_while {|i| ! internal_file?(i.path) } end
# File power_assert-1.1.7/lib/power_assert.rb, line 59 def app_context? top_frame = caller_locations.drop_while {|i| i.path.start_with?(POWER_ASSERT_LIB_DIR) }.first top_frame and ! internal_file?(top_frame.path) end
# File power_assert-1.1.7/lib/power_assert/configuration.rb, line 3 def configuration @configuration ||= Configuration[false, false, true, false, false] end
# File power_assert-1.1.7/lib/power_assert/configuration.rb, line 7 def configure yield configuration end
# File power_assert-1.1.7/lib/power_assert.rb, line 37 def start(assertion_proc_or_source, assertion_method: nil, source_binding: TOPLEVEL_BINDING) if respond_to?(:clear_global_method_cache, true) clear_global_method_cache end yield BlockContext.new(assertion_proc_or_source, assertion_method, source_binding) end
# File power_assert-1.1.7/lib/power_assert/enable_tracepoint_events.rb, line 70 def ! end
# File power_assert-1.1.7/lib/power_assert/enable_tracepoint_events.rb, line 63 def == end
# File power_assert-1.1.7/lib/power_assert/enable_tracepoint_events.rb, line 25 def fixed? true end