Skip to content

Commit

Permalink
Merge pull request #92 from hadashiA/ku/mruby/add-test
Browse files Browse the repository at this point in the history
Add fuzzy state matcher
  • Loading branch information
hadashiA authored Oct 13, 2024
2 parents 2077f8d + 93c3d86 commit f524d76
Show file tree
Hide file tree
Showing 23 changed files with 616 additions and 18 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1305,6 +1305,11 @@ state[:int_value] #=> 1234
state[:bool_value] #=> true
state[:float_value] #=> 678.9
state[:string_value] #=> "Hoge Hoge"

# A somewhat fuzzy matcher, the `is?` method, is available for shared states.
state[:a] #=> 'buz'
state[:a].is?('buz') #=> true
state[:a].is?(:buz) #=> true
```

### Memory Usage in Ruby
Expand Down
Loading

0 comments on commit f524d76

Please sign in to comment.