Module: GhInspector

Defined in:
lib/gh_inspector/inspector.rb,
lib/gh_inspector.rb,
lib/gh_inspector/version.rb,
lib/gh_inspector/evidence.rb,
lib/gh_inspector/sidekick.rb,
lib/gh_inspector/exception_hound.rb

Overview

Note that the README is generated from the class comments, so it’s a bit wider scope than your average class comment.

Defined Under Namespace

Classes: Evidence, ExceptionHound, InspectionReport, Inspector, Issue, Sidekick

Constant Summary collapse

VERSION =
'1.1.1'.freeze
NUMBER_OF_ISSUES_INLINE =

The default user interface for the inspector, its public API should be considered the protocol for other classes wanting to provide a user interface.

Your custom objects will be verified at runtime that they conform to the protocol.

You can see the default implmentation at [lib/evidence.rb](/orta/gh-issues-inspector/tree/master/lib/evidence.rb).

Both ‘search_query` and `search_exception` take your custom delegate as a 2nd optional parameter.

“‘ ruby require ’gh_inspector’ inspector = GhInspector::Inspector.new “orta”, “eigen” inspector.search_query “Someone set us up the bomb”, ArtsyUI.new “‘

3