[rspec-users] API for defining top-level DSL methods?

2011-11-01 Thread Sam Goldman
I am in the process of writing a simple DSL inside of rspec, which defines some methods that wrap describe/example and augment the metadata, like capybara's "feature/scenario" methods. From the excellent RSpec book, I know how to use Configuration to extend RSpec in a forward-compatible way, but it

Re: [rspec-users] API for defining top-level DSL methods?

2011-11-01 Thread David Chelimsky
On Nov 1, 2011, at 9:34 AM, Sam Goldman wrote: > I am in the process of writing a simple DSL inside of rspec, which defines > some methods that wrap describe/example and augment the metadata, like > capybara's "feature/scenario" methods. From the excellent RSpec book, I know > how to use Config