Top Level Namespace
- Includes:
- SaveFile
Defined Under Namespace
Modules: SaveFile
Constant Summary
Constants included from SaveFile
SaveFile::DEFAULT_PERMISSION_TO_USE, SaveFile::FILE_MODE_TO_BE_USED, SaveFile::LAST_UPDATE, SaveFile::SAVE_FILE_WHERE_TO, SaveFile::VERSION
Instance Method Summary collapse
-
#append_what_into(what = "Testing.\n", into_where = 'default.txt', permission_to_use = SaveFile::DEFAULT_PERMISSION_TO_USE) ⇒ Object
(also: #append_what_to, #append_into, #append_file, #append_into_file, #append_what_into_file, #append_what_to_this_file)
# === append_what_into.
Methods included from SaveFile
append_what_into, is_roebe?, new
Instance Method Details
#append_what_into(what = "Testing.\n", into_where = 'default.txt', permission_to_use = SaveFile::DEFAULT_PERMISSION_TO_USE) ⇒ Object Also known as: append_what_to, append_into, append_file, append_into_file, append_what_into_file, append_what_to_this_file
#
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()
#
19 20 21 22 23 24 25 |
# File 'lib/save_file/append/append_what_into.rb', line 19 def append_what_into( what = "Testing.\n", into_where = 'default.txt', = SaveFile::DEFAULT_PERMISSION_TO_USE ) ::SaveFile.append_what_into(what, into_where, ) end |