C# Class IronRuby.Builtins.RubyDir

Inheritance: RubyObject
Datei anzeigen Open project: jschementi/iron Class Usage Examples

Private Properties

Property Type Description
ChangeDirectory object
ChangeDirectory object
ChangeDirectory object
ChangeRoot int
Close void
Close void
Create RubyDir
Each object
EnumerateEntries object
Exists bool
ForEach object
GetCurrentDirectory MutableString
GetCurrentPosition int
GetEntries RubyArray
GetEntries RubyArray
GetPath MutableString
Glob RubyArray
Glob object
Glob object
MakeDirectory int
Open RubyDir
Open object
Read MutableString
Reinitialize RubyDir
RemoveDirectory int
Rewind RubyDir
Seek RubyDir
SetCurrentDirectory void
SetPosition int
ThrowIfClosed void
ToRubyException System.Exception

Public Methods

Method Description
RubyDir ( RubyClass cls ) : System
RubyDir ( RubyClass cls, MutableString dirname ) : System

Private Methods

Method Description
ChangeDirectory ( BlockParam block, RubyClass self ) : object
ChangeDirectory ( ConversionStorage toPath, BlockParam block, RubyClass self, object dir ) : object
ChangeDirectory ( PlatformAdaptationLayer pal, string strDir, MutableString dir, BlockParam block ) : object
ChangeRoot ( object self ) : int
Close ( ) : void
Close ( RubyDir self ) : void
Create ( RubyClass self, [ dirname ) : RubyDir
Each ( RubyContext context, BlockParam block, RubyDir self ) : object
EnumerateEntries ( RubyContext context, BlockParam block, object defaultResult ) : object
Exists ( ConversionStorage toPath, RubyModule self, object path ) : bool
ForEach ( ConversionStorage toPath, BlockParam block, RubyClass self, object dirname ) : object
GetCurrentDirectory ( RubyClass self ) : MutableString
GetCurrentPosition ( RubyDir self ) : int
GetEntries ( ConversionStorage toPath, RubyClass self, object dirname, object>.[ options ) : RubyArray
GetEntries ( RubyContext context ) : RubyArray
GetPath ( RubyContext context, RubyDir self ) : MutableString
Glob ( RubyClass self ) : RubyArray
Glob ( RubyClass self, [ pattern, [ flags ) : object
Glob ( [ block, RubyClass self, [ pattern, [ flags ) : object
MakeDirectory ( ConversionStorage toPath, RubyClass self, object dirname, [ permissions ) : int
Open ( ConversionStorage toPath, RubyClass self, object dirname ) : RubyDir
Open ( ConversionStorage toPath, BlockParam block, RubyClass self, object dirname ) : object
Read ( RubyContext context, RubyDir self ) : MutableString
Reinitialize ( RubyDir self, [ dirname ) : RubyDir
RemoveDirectory ( ConversionStorage toPath, RubyClass self, object dirname ) : int
Rewind ( RubyDir self ) : RubyDir
Seek ( RubyDir self, int pos ) : RubyDir
SetCurrentDirectory ( PlatformAdaptationLayer pal, string dir ) : void
SetPosition ( RubyDir self, int pos ) : int
ThrowIfClosed ( ) : void
ToRubyException ( Exception ex, string path, DirectoryOperation op ) : Exception

Method Details

RubyDir() public method

public RubyDir ( RubyClass cls ) : System
cls RubyClass
return System

RubyDir() public method

public RubyDir ( RubyClass cls, MutableString dirname ) : System
cls RubyClass
dirname MutableString
return System