Class: Dir

Inherits:
Object show all
Defined in:
/Users/elia/Code/opal-docs/opal/stdlib/nodejs/dir.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.[](glob) ⇒ Object


5
6
7
# File '/Users/elia/Code/opal-docs/opal/stdlib/nodejs/dir.rb', line 5

def self.[] glob
  `__glob__.sync(#{glob})`
end

Instance Method Details

#pwdObject Also known as: getwd


9
10
11
# File '/Users/elia/Code/opal-docs/opal/stdlib/nodejs/dir.rb', line 9

def pwd
  `process.cwd()`
end