lib/gloo/objs/system/file_handle.rb in gloo-0.6.1 vs lib/gloo/objs/system/file_handle.rb in gloo-0.7.0

- old
+ new

@@ -122,46 +122,8 @@ def msg_check_is_dir result = File.directory? value $engine.heap.it.set_to result end - # --------------------------------------------------------------------- - # Help - # --------------------------------------------------------------------- - - # - # Get help for this object type. - # - def self.help - return <<~TEXT - FILE OBJECT TYPE - NAME: file - SHORTCUT: dir - - DESCRIPTION - Reference to a file or folder (directory) on disk. - The string value of the file object is the path and name - of the file. - - CHILDREN - None. - - MESSAGES - read <into.obj> - Read file and put data in the specified object. - If the <into.obj> is not specified, the data will be in <it>. - write <from.obj> - Write the data in the <from.object> into - the file. - show - Show the contents of the file. - page - Show the contents of the file, paginated - open - Open the file with the default application for the type. - check_exists - Check to see if the file exists. - <It> will be true or false. - check_is_file - Check to see if the file specified is a - regular file. <It> will be true or false. - check_is_dir - Check to see if the file specified is a - diretory. <It> will be true or false. - TEXT - end - end end end