Class: StringRay::Delimiter

Inherits:
String
  • Object
show all
Defined in:
lib/stringray.rb

Overview

A wrapper class for strings that are ‘delimiters’ composed of ‘delimiter characters’.

Constant Summary collapse

Characters =
['-', ',', '.', '?', '!', ':', ';', '/', '\\', '|']

Instance Method Summary collapse

Instance Method Details

#inspectObject



200
201
202
# File 'lib/stringray.rb', line 200

def inspect
  "<#{self}>"
end