Class: StringRay::Whitespace

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

Overview

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

Constant Summary collapse

Characters =
[" ", "\t", "\n"]

Instance Method Summary collapse

Instance Method Details

#inspectObject



184
185
186
# File 'lib/stringray.rb', line 184

def inspect
  "#{self}"
end