# File lib/rack/mount/vendor/regin/regin/character.rb, line 39 39: def include?(char) 40: if ignorecase 41: value.downcase == char.downcase 42: else 43: value == char 44: end 45: end
Returns true if expression could be treated as a literal string.
A Character is literal is there is no quantifier attached to it.
# File lib/rack/mount/vendor/regin/regin/character.rb, line 17 17: def literal? 18: quantifier.nil? && !ignorecase 19: end
# File lib/rack/mount/vendor/regin/regin/character.rb, line 35 35: def match(char) 36: to_regexp(true).match(char) 37: end
# File lib/rack/mount/vendor/regin/regin/character.rb, line 10 10: def option_names 11: %( quantifier ) + super 12: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.