1
0
Fork 0
mirror of https://github.com/ms-ati/docile synced 2023-03-27 23:21:52 -04:00

Improve documentation of features

This commit is contained in:
Marc Siegel 2013-07-28 17:07:48 -04:00
parent d15d687090
commit 8f55224db1

View file

@ -149,10 +149,12 @@ end
## Features ## Features
1. method lookup falls back from the DSL object to the block's context 1. Method lookup falls back from the DSL object to the block's context
2. local variable lookup falls back from the DSL object to the block's context 2. Local variable lookup falls back from the DSL object to the block's
3. instance variables are from the block's context only context
4. nested dsl evaluation 3. Instance variables are from the block's context only
4. Nested DSL evaluation, correctly chaining method and variable handling
from the inner to the outer DSL scopes
## Installation ## Installation
@ -173,12 +175,14 @@ Version 1.0.x works on [all ruby versions since 1.8.7](https://github.com/ms-ati
## Note on Patches/Pull Requests ## Note on Patches/Pull Requests
* Fork the project. * Fork the project.
* Setup your development environment with: gem install bundler; bundle install * Setup your development environment with:
`gem install bundler; bundle install`
* Make your feature addition or bug fix. * Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a * Add tests for it. This is important so I don't break it in a future version
future version unintentionally. unintentionally.
* Commit, do not mess with rakefile, version, or history. * Commit, do not mess with rakefile, version, or history.
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull) (if you want to have your own version, that is fine but bump version in a
commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches. * Send me a pull request. Bonus points for topic branches.
## Copyright ## Copyright