Sha256: 414362672fcf8f87f35e82bfe7e57d1a4b554c332243f6090697dde6350baff4

Contents?: true

Size: 228 Bytes

Versions: 3

Compression:

Stored size: 228 Bytes

Contents

class File
  class << self
    def create(filename,str)
      open(filename,"w") do |f|
        f << str
      end
    end
    def append(filename,str)
      open(filename,"a") do |f|
        f << str
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mharris_ext-1.7.1 lib/mharris_ext/file.rb
mharris_ext-1.7.0 lib/mharris_ext/file.rb
mharris_ext-1.6.0 lib/mharris_ext/file.rb