class Xzhhaha::Writer

Public Class Methods

write_to(file_path, content) click to toggle source
# File lib/write_file.rb, line 3
def self.write_to(file_path, content)
  File.open(file_path, 'w+') { |f| f.write(content) }
end

Public Instance Methods

run(num) click to toggle source
# File lib/write_file.rb, line 7
def run(num)
  num + 1
end