Method: MindWords#save

Defined in:
lib/mindwords.rb

#save(file = @filepath) ⇒ Object



169
170
171
172
173
174
175
176
177
# File 'lib/mindwords.rb', line 169

def save(file=@filepath)

  return if @lines.empty?

  puts 'before save' if @debug

  FileX.write file, to_s()

end