123456789_123456789_123456789_123456789_123456789_

Class: Prism::MatchLastLineNode

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

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.

Node - Inherited

#deprecated

: (*String replacements) -> void.

#newline_flag!

: (Array lines) -> void.

Instance Method Details

#options

Returns a numeric value that represents the flags that were used to create the regular expression.

[ GitHub ]

  
# File 'lib/prism/node_ext.rb', line 66

def options
  RegularExpressionOptions.options(flags)
end