IronRuby.Builtins.HashOps.CreateHash C# (CSharp) Method

CreateHash() private method

private CreateHash ( BlockParam block, RubyClass self, object defaultValue ) : Hash
block IronRuby.Runtime.BlockParam
self RubyClass
defaultValue object
return Hash
        public static Hash/*!*/ CreateHash(BlockParam block, RubyClass/*!*/ self, object defaultValue) {
            if (block != null) {
                throw RubyExceptions.CreateArgumentError("wrong number of arguments");
            }
            return new Hash(self.Context.EqualityComparer, null, defaultValue);
        }

Same methods

HashOps::CreateHash ( RubyClass self ) : Hash
HashOps::CreateHash ( [ defaultProc, RubyClass self ) : Hash