Class: RIO::FS::Handle
Instance Method Summary collapse
- #convert_arg(arg) ⇒ Object
- #convert_args(args) ⇒ Object
-
#initialize(fs) ⇒ Handle
constructor
A new instance of Handle.
- #method_missing(sym, *args, &block) ⇒ Object
Constructor Details
#initialize(fs) ⇒ Handle
Returns a new instance of Handle.
6 7 8 |
# File 'lib/rio/fs.rb', line 6 def initialize(fs) @fs = fs end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(sym, *args, &block) ⇒ Object
16 17 18 |
# File 'lib/rio/fs.rb', line 16 def method_missing(sym,*args,&block) @fs.__send__(sym,*args,&block) end |