Rspec
Creating your own RSpec Matchers.
RSpec is a behavior-driven development (BDD) framework for the Ruby programming language. It assists with setting expectations for how exactly one expects ones code to behave. Tests (or specs) are first written and run leading to failures. Code is then written to pass those expectations earlier set. RSpec by default provides a handful of matchers [...]
RUBY
Creating your own RSpec Matchers.
RUBY
Ruby on Steroids(DSLs): The Powerful Spell Called DSL
RUBY
Ruby on Steroids: The Magic of MetaProgramming – Method Spells
RUBY
Ruby on Steroids: The Magic of MetaProgramming – Fellowship of Spells
RUBY