Lines Matching refs:to_hash
1744 Opal.to_hash = function(value) {
1748 else if (value['$respond_to?']('to_hash', true)) {
1749 var hash = value.$to_hash();
1755 " to Hash (" + value.$$class + "#to_hash gives " + hash.$$class + ")");
1824 if (kwargs != null && Opal.respond_to(kwargs, '$to_hash', true)) {
2230 Opal.hash_clone = function(from_hash, to_hash) {
2231 to_hash.$$none = from_hash.$$none;
2232 to_hash.$$proc = from_hash.$$proc;
2244 Opal.hash_put(to_hash, key, value);
5126 } return $Opal['$coerce_to!'](arg, $$$('Hash'), "to_hash");
14065 if ($truthy((o = $Opal['$coerce_to?'](count, $$$('Hash'), "to_hash")))) {
14077 options = $coerce_to(options, $$$('Hash'), 'to_hash');
14231 rng = $Opal['$coerce_to?'](rng, $$$('Hash'), "to_hash");
14758 hash = $Opal['$coerce_to?'](argv['$[]'](0), $$$('Hash'), "to_hash");
14816 return $Opal['$coerce_to?'](obj, $$$('Hash'), "to_hash")
14875 other = $Opal['$coerce_to!'](other, $$$('Hash'), "to_hash");
14900 other = $Opal['$coerce_to!'](other, $$$('Hash'), "to_hash");
14912 other = $Opal['$coerce_to!'](other, $$$('Hash'), "to_hash");
14920 other = $Opal['$coerce_to!'](other, $$$('Hash'), "to_hash");
15646 other = $Opal['$coerce_to!'](others[i], $$$('Hash'), "to_hash");
15793 $deny_frozen_access(self); other = $Opal['$coerce_to!'](other, $$$('Hash'), "to_hash");
15966 $def(self, '$to_hash', $return_self);
24978 return $alias(self, "to_hash", "to_h");