Class: Class

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

Instance Method Summary collapse

Instance Method Details

#native_alias(jsid, mid) ⇒ Object



522
523
524
# File 'opal/stdlib/native.rb', line 522

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