website/index.txt in patternmatching-0.1.0 vs website/index.txt in patternmatching-0.1.1

- old
+ new

@@ -19,16 +19,23 @@ * For detail, see Wikipedia: "Pattern matching":http://en.wikipedia.org/wiki/Pattern_matching * Syntax based on meta-programming, like "rspec", and so on. Note: Default equivalence used in structured pattern matching is -based on "pattern === data", so "foo(Numeric)" matches with "foo(100)" +based on "<code>pattern === data</code>", +so "<code>foo(Numeric)</code>" matches "<code>foo(100)</code>". -Note: Not thread safe now. +Notice: Current implementation is not thread safe now. +Need the receiver object(NOT an argument) calling pattern matching +synchronized when multi-threaded access. h2. Demonstration of usage +Symbols(e.g. <code>:a</code>, <code>:right_value</code>) +in patterns is passed as variable +to the following block when the pattern matched. + <h3>Pattern matching expression</h3> <pre> require "patternmatching" # For DSL style code, include PatternMatching @@ -139,9 +146,10 @@ end # => "He is Jiro" </pre> h2. Forum +Visit RubyForge project forum. h2. How to submit patches Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above.