Class: Regexp

Inherits:
Object show all
Defined in:
lib/sxp/writer.rb

Overview

Extensions for Ruby's Regexp class.

Instance Method Summary collapse

Instance Method Details

#to_sxpString

Returns the SXP representation of this object.

Returns:


148
149
150
# File 'lib/sxp/writer.rb', line 148

def to_sxp
  '#' << inspect
end