Class: RIO::Ext::YAML::Doc::Close
- Inherits:
-
Base
- Object
- State::Base
- Base
- RIO::Ext::YAML::Doc::Close
- Defined in:
- lib/rio/ext/yaml/doc.rb
Constant Summary
Constants inherited from State::Base
Instance Attribute Summary
Attributes inherited from State::Base
#cx, #ioh, #rl, #try_state
Instance Method Summary collapse
Methods inherited from Base
Methods included from Ops::Path::ExistOrNot
Methods included from Ops::Path::URI
#abs, #abs?, #base, #merge, #rel, #route_from, #route_to, #setbase
Methods included from Ops::Path::Create
#/, #cleanpath, #cwd, #getwd, #join, #join!, #rootpath
Methods included from Ops::Path::Query
#+, #basename, #dirname, #expand_path, #extname, #filename, #gsub, #splitpath, #sub
Methods included from Ops::Path::Status
#atime, #ctime, #executable?, #executable_real?, #fnmatch, #fnmatch?, #ftype, #grpowned?, #mtime, #owned?, #readable?, #readable_real?, #root?, #setgid?, #setuid?, #size, #size?, #stat, #sticky?, #writable?, #writable_real?, #zero?
Methods included from Ops::Path::Test
#blockdev?, #chardev?, #closed?, #directory?, #exist?, #file?, #open?, #pipe?, #socket?, #symlink?
Methods inherited from State::Base
#==, #===, #=~, #base_state, #became, #become, #callstr, #clone_rio, default_cx, #ensure_cmd_rio, #ensure_rio, #eql?, #error, #fs, #gofigure, #hash, #initialize, #initialize_copy, #method_missing, #method_missing_trace_str, new_other, #new_rio, #new_rio_cx, #reset, #retryreset, #softreset, #stream?, #to_rl, #to_uri, #to_url
Methods included from ZipFile::Cx
Methods included from Symantics
#rtn_new, #rtn_reset, #rtn_rio, #rtn_self, #rtn_val
Methods included from Cx
#document, #documents, #object, #objects, #skipdocuments, #skipobjects, #yaml, #yaml?, #yamldoc
Methods included from SplitLines::Cx
#columns, #columns?, #skipcolumns, #splitlines, #splitlines?
Methods included from CSV::Cx
#columns, #columns?, #csv, #csv?, #skipcolumns
Methods included from Cx::Methods
#+@, #_arg_skip, #_noarg_skip, #a, #a!, #all, #all?, #bytes, #bytes_, #closeoncopy, #closeoncopy?, #closeoneof, #closeoneof?, #copying, #copying?, #copying_done, #copying_from, #copying_from?, #copying_from_done, #copying_to, #copying_to?, #copying_to_done, #dir_iter?, #dirs, #entries, #ext, #ext?, #files, #gzip, #gzip?, #inputmode?, #line, #line_, #lines, #lines_, make_filter_methods, #mode, #mode?, #noall, #noautoclose, #nocloseoncopy, #nocloseoneof, #noext, #norecurse, #nostreamenum, #nostreamenum?, #nosync, #outputmode?, #r, #r!, #record, #record_, #records, #records_, #recurse, #row, #row_, #rows, #rows_, #skip, #skipdirs, #skipentries, #skipfiles, #skiplines, #skipping?, #skiprecords, #skiprecords_, #skiprows, #split, #stream_iter?, #sync, #sync?, #w, #w!
Constructor Details
This class inherits a constructor from RIO::State::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RIO::State::Base
Instance Method Details
#check? ⇒ Boolean
122 |
# File 'lib/rio/ext/yaml/doc.rb', line 122 def check?() true end |
#close ⇒ Object
103 104 105 106 107 108 109 |
# File 'lib/rio/ext/yaml/doc.rb', line 103 def close() #p callstr('close')+" mode='#{mode?}' ioh=#{self.ioh} open?=#{open?}" return self unless self.open? self.close_ cx['retrystate'] = nil self end |
#when_missing(sym, *args) ⇒ Object
123 124 125 126 |
# File 'lib/rio/ext/yaml/doc.rb', line 123 def when_missing(sym,*args) # p callstr('when_missing',sym,*args) self.close_.retryreset() end |