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



186
187
188
# File 'lib/stringray.rb', line 186

def inspect
  "#{self}"
end