Class: String

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#cleanupObject



84
85
86
87
88
89
90
# File 'lib/vlad.rb', line 84

def cleanup
  if ENV['FULL'] then
    gsub(/\s+/, ' ').strip
  else
    self[/\A.*?\./]
  end
end