class Bwgem::Writer
Public Class Methods
new(write_file_path, content)
click to toggle source
# File lib/write_file.rb, line 3 def initialize(write_file_path, content) File.open(write_file_path, "w+") { |f| f.write(content) } end