Sha256: 74dea22336b014ca84ec13cf60f38165a07115b0f79b7c3ccc3f5f84f621acc1

Contents?: true

Size: 490 Bytes

Versions: 2

Compression:

Stored size: 490 Bytes

Contents

#### Simple MatchData

This example shows a simple ```MatchData```.

```show.rb```:
```ruby
require 'debug_helper'

match_data = /[a-z]/.match('abc')
DebugHelper.show(match_data, 'My simple MatchData')
```

The output shows details of the ```MatchData```.

```show.yaml```:
```yaml
---
MatchData (message='My simple MatchData'):
  MatchData#size: 1
  MatchData#regexp: !ruby/regexp /[a-z]/
  MatchData#to_a:
  - a
  MatchData#captures: []
  MatchData#names: []
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
debug_helper-2.1.0 markdown/readme/classes/match_data/simple/show.md
debug_helper-2.0.0 markdown/readme/classes/match_data/simple/show.md