class Object

Public Instance Methods

append_file( what = "Testing.\n", into_where = 'default.txt', permission_to_use = SaveFile::DEFAULT_PERMISSION_TO_USE )
Alias for: append_what_into
append_into( what = "Testing.\n", into_where = 'default.txt', permission_to_use = SaveFile::DEFAULT_PERMISSION_TO_USE )
Alias for: append_what_into
append_into_file( what = "Testing.\n", into_where = 'default.txt', permission_to_use = SaveFile::DEFAULT_PERMISSION_TO_USE )
Alias for: append_what_into
append_what_into( what = "Testing.\n", into_where = 'default.txt', permission_to_use = SaveFile::DEFAULT_PERMISSION_TO_USE ) click to toggle source
#

append_what_into

A wrapper over the save functionality above. Currently we do not make use of the permission bits, but this may change at a later time.

For this to work, we need to require the SaveFile module.

Usage example:

append_what_into()
#
# File lib/save_file/append/append_what_into.rb, line 19
def append_what_into(
    what              = "Testing.\n",
    into_where        = 'default.txt',
    permission_to_use = SaveFile::DEFAULT_PERMISSION_TO_USE
  )
  ::SaveFile.append_what_into(what, into_where, permission_to_use)
end
append_what_into_file( what = "Testing.\n", into_where = 'default.txt', permission_to_use = SaveFile::DEFAULT_PERMISSION_TO_USE )
Alias for: append_what_into
append_what_to( what = "Testing.\n", into_where = 'default.txt', permission_to_use = SaveFile::DEFAULT_PERMISSION_TO_USE )
Alias for: append_what_into
append_what_to_this_file( what = "Testing.\n", into_where = 'default.txt', permission_to_use = SaveFile::DEFAULT_PERMISSION_TO_USE )
Alias for: append_what_into