Class: Regexp

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

Instance Method Summary collapse

Instance Method Details

#to_nObject

Returns the internal JavaScript value (with valueOf).

Returns:

  • the internal JavaScript value (with valueOf).



463
464
465
# File 'opal/stdlib/native.rb', line 463

def to_n
  `self.valueOf()`
end