Class: Regexp

Inherits:
Object show all
Defined in:
vendor/bundler/ruby/3.2.0/bundler/gems/sxp.rb-c250c287c809/lib/sxp/extensions.rb

Overview

Extensions for Ruby's Regexp class.

Instance Method Summary collapse

Instance Method Details

#to_sxp(**options) ⇒ String

Returns the SXP representation of this object.

Returns:



197
198
199
# File 'vendor/bundler/ruby/3.2.0/bundler/gems/sxp.rb-c250c287c809/lib/sxp/extensions.rb', line 197

def to_sxp(**options)
  '#' << inspect
end