Class: Dir
- Inherits:
-
Object
- Object
- Dir
- Defined in:
- lib/gtk2applib.rb
Overview
If Dir.tmpdir gets called, load up 'tmpdir'
Class Method Summary (collapse)
Class Method Details
+ (Object) method_missing(missing, *arguments, &block)
9 10 11 12 13 14 15 16 |
# File 'lib/gtk2applib.rb', line 9 def self.method_missing(missing, *arguments, &block) if missing == :tmpdir then require 'tmpdir' self.method(:tmpdir).call(*arguments, &block) else super end end |