Class: Class

Inherits:
Object show all
Defined in:
opal/stdlib/native.rb

Instance Method Summary collapse

Instance Method Details

#native_alias(jsid, mid) ⇒ Object



494
495
496
# File 'opal/stdlib/native.rb', line 494

def native_alias(jsid, mid)
  `#{self}._proto[#{jsid}] = #{self}._proto['$' + #{mid}]`
end