예제 #1
0
 public RubyStruct()
     : base()
 {
     this.ClassName = RubySymbol.GetSymbol("Struct");
 }
예제 #2
0
 public RubyHash(object DefaultValue)
     : base()
 {
     this.defaultValue = DefaultValue;
     this.ClassName    = RubySymbol.GetSymbol("Hash");
 }
예제 #3
0
 public RubyRegexp(RubyString Pattern, RubyRegexpOptions Options)
 {
     this.Pattern   = Pattern;
     this.Options   = Options;
     this.ClassName = RubySymbol.GetSymbol("Regexp");
 }
예제 #4
0
 private RubyNil()
 {
     this.ClassName = RubySymbol.GetSymbol("NilClass");
 }
예제 #5
0
 public static RubyClass GetClass(RubySymbol s)
 {
     return(GetClass(s.GetString()));
 }