[フレーム]

Class: Dir

Inherits:
Object show all
Defined in:
opal/stdlib/nodejs/dir.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.[](glob) ⇒ Object

5
6
7
# File '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 'opal/stdlib/nodejs/dir.rb', line 9
def pwd
 `process.cwd()`
end

AltStyle によって変換されたページ (->オリジナル) /