Class: Prism::InterpolatedRegularExpressionNode
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Node
|
|
|
Instance Chain:
self,
Node
|
|
| Inherits: |
Prism::Node
|
| Defined in: | lib/prism/node_ext.rb, lib/prism/parse_result/newlines.rb |
Instance Attribute Summary
Node - Inherited
| #newline_flag? | : () -> bool. |
Instance Method Summary
-
#options
Returns a numeric value that represents the flags that were used to create the regular expression.
-
#newline_flag!(lines)
Internal use only
: (Array lines) -> void.
Node - Inherited
| #deprecated | : (*String replacements) -> void. |
| #newline_flag! | : (Array lines) -> void. |
Instance Method Details
#newline_flag!(lines)
This method is for internal use only.
: (Array lines) -> void
# File 'lib/prism/parse_result/newlines.rb', line 175
def newline_flag!(lines) # :nodoc: first = parts.first first.newline_flag!(lines) if first end
#options
Returns a numeric value that represents the flags that were used to create the regular expression.
# File 'lib/prism/node_ext.rb', line 56
def RegularExpressionOptions.(flags) end