Class: String
- Defined in:
- lib/bitclust/parseutils.rb,
lib/bitclust/compat.rb,
lib/bitclust/compat.rb,
lib/bitclust/compat.rb
Overview
reopen
Instance Attribute Summary collapse
-
#location ⇒ Object
Returns the value of attribute location.
Instance Method Summary collapse
Instance Attribute Details
#location ⇒ Object
Returns the value of attribute location.
14 15 16 |
# File 'lib/bitclust/parseutils.rb', line 14 def location @location end |
Instance Method Details
#match?(pattern, pos = 0) ⇒ Boolean
32 33 34 |
# File 'lib/bitclust/compat.rb', line 32 def match?(pattern, pos = 0) !match(pattern, pos).nil? end |