Class: String

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#cleanupObject



71
72
73
74
75
76
77
# File 'lib/vlad.rb', line 71

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