Class: RIO::Path::Empty
- Inherits:
-
State::Base
- Object
- State::Base
- RIO::Path::Empty
- Includes:
- Ops::Path::Empty
- Defined in:
- lib/rio/path.rb
Overview
Empty:
nil? or empty? => Emp
else => Sin
Constant Summary
Constants inherited from State::Base
Instance Attribute Summary
Attributes inherited from State::Base
#cx, #ioh, #rl, #try_state
Instance Method Summary collapse
- #[](*args) ⇒ Object
- #check? ⇒ Boolean
- #each(&block) ⇒ Object
- #get(*args) ⇒ Object
- #gets(*args) ⇒ Object
- #read(*args) ⇒ Object
- #when_missing(sym, *args) ⇒ Object
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 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 Ext::YAML::Cx
#documents, #objects, #skipdocuments, #skipobjects, #yaml, #yaml?, #yamldoc
Methods included from Ext::SplitLines::Cx
#columns, #columns?, #skipcolumns, #splitlines, #splitlines?
Methods included from Ext::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
#[](*args) ⇒ Object
65 |
# File 'lib/rio/path.rb', line 65 def [](*args) _assume_cwd[*args] end |
#check? ⇒ Boolean
49 |
# File 'lib/rio/path.rb', line 49 def check?() fspath.nil? or fspath.empty? end |
#each(&block) ⇒ Object
66 |
# File 'lib/rio/path.rb', line 66 def each(&block) _assume_cwd.each(&block) end |
#get(*args) ⇒ Object
68 |
# File 'lib/rio/path.rb', line 68 def get(*args) _assume_cwd.get(*args) end |
#gets(*args) ⇒ Object
70 |
# File 'lib/rio/path.rb', line 70 def gets(*args) _assume_stdio.chomp.gets(*args) end |
#read(*args) ⇒ Object
67 |
# File 'lib/rio/path.rb', line 67 def read(*args) _assume_cwd.read(*args) end |
#when_missing(sym, *args) ⇒ Object
72 |
# File 'lib/rio/path.rb', line 72 def when_missing(sym,*args) gofigure(sym,*args) end |