Sha256: 6f6f8957ba0d600da91aa1e45682b13cb6405abfb629b0ee4830bc47a57af0c7
Contents?: true
Size: 380 Bytes
Versions: 2
Compression:
Stored size: 380 Bytes
Contents
class Dir # Returns a string that is the current working directory for this process. # # @return [String] def self.getwd `return Op.fs.cwd;` end # Returns a string that is the current working directory for this process. # # @return [String] def self.pwd `return Op.fs.cwd;` end def self.[](*a) `return Op.fs.glob.apply(Op.fs, a);` end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
opal-0.3.10 | corelib/dir.rb |
opal-0.3.9 | corelib/dir.rb |