class Hoodoo::StringInquirer
Given a string, provides an object that takes the string’s value and turns it into a method “#{value}?”, returning true
; other methods all respond false
.
Example:
greeting = Hoodoo::StringInquirer.new( 'hello' ) greeting.hello? # => true greeting.hi? # => false