Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/mediacloth/mediawikilexer.rb

Direct Known Subclasses

TokenString

Instance Method Summary collapse

Instance Method Details

#is_empty_token?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/mediacloth/mediawikilexer.rb', line 4

def is_empty_token?
  self.size == 0 or self == "\n" or self == "\r\n"
end