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.
13 14 15 |
# File 'lib/bitclust/parseutils.rb', line 13 def location @location end |
Instance Method Details
#match?(pattern, pos = 0) ⇒ Boolean
31 32 33 |
# File 'lib/bitclust/compat.rb', line 31 def match?(pattern, pos = 0) !match(pattern, pos).nil? end |