Class: MatchData

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

Instance Method Summary collapse

Instance Method Details

#to_nObject

Returns the array of matches.

Returns:

  • the array of matches



475
476
477
# File 'opal/stdlib/native.rb', line 475

def to_n
  @matches
end