Sha256: 797174ecaf22f7c70ce91eace6456e86433b3b5b521bf0d36d1257e96d874163

Contents?: true

Size: 103 Bytes

Versions: 20

Compression:

Stored size: 103 Bytes

Contents

# Append to a file.

def File.append( file, str )
  File.open( file, 'a' ) { |f|
    f << str
  }
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
facets-1.3.0 lib/facets/core/file/self/append.rb
facets-1.3.1 lib/facets/core/file/self/append.rb
facets-1.3.3 lib/facets/core/file/self/append.rb
facets-1.3.2 lib/facets/core/file/self/append.rb
facets-1.4.1 lib/facets/core/file/self/append.rb
facets-1.4.2 lib/facets/core/file/self/append.rb
facets-1.4.0 lib/facets/core/file/self/append.rb
facets-1.4.3 lib/facets/core/file/self/append.rb
facets-1.4.5 lib/facets/core/file/self/append.rb
facets-1.4.4 lib/facets/core/file/self/append.rb
facets-1.7.0 lib/facets/core/file/self/append.rb
facets-1.7.30 lib/facets/core/file/self/append.rb
facets-1.7.38 lib/facets/core/file/self/append.rb
facets-1.7.46 lib/facets/core/file/self/append.rb
facets-1.8.0 lib/facets/core/file/self/append.rb
facets-1.8.20 lib/facets/core/file/self/append.rb
facets-1.8.49 lib/facets/core/file/self/append.rb
facets-1.8.51 lib/facets/core/file/self/append.rb
facets-1.8.54 lib/facets/core/file/self/append.rb
facets-1.8.8 lib/facets/core/file/self/append.rb