Skip to content

Commit

Permalink
minor format change for the code sample in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
saturnflyer committed Jun 12, 2013
1 parent 2255a1d commit 8e6572c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -22,13 +22,15 @@ See the examples for detailed information on how to use maroon.

Essentially you can define a context by using

```ruby
Context.define :context_name do
role :role_name do
print_self do |x| #notice no symbol
p "#{role_name} #use role_name to refer to the role of said name
end
end
end
```
## Running Tests
Expand Down

0 comments on commit 8e6572c

Please sign in to comment.