Permalink
Browse files

Update README.md

Ruby syntax in readme
  • Loading branch information...
1 parent 8310608 commit 5bf827419b1755ae9fa3e79ec2628ff013e32fe8 @dmalikov committed Feb 6, 2013
Showing with 21 additions and 18 deletions.
  1. +21 −18 README.md
View
39 README.md
@@ -10,26 +10,29 @@ Requirements
Attributes
==========
- default["smackage"] = {
- "dir" => nil,
- "smlnj_config_path" => nil
- }
+```ruby
+default["smackage"] = {
+ "dir" => nil,
+ "smlnj_config_path" => nil
+}
+```
Usage
=====
Example role:
-
- name "smackage"
- description "smackage"
-
- run_list(
- "recipe[smackage::default]"
- )
-
- default_attributes( {
- "smackage" => {
- "dir" => File.join(ENV['HOME'], 'projects/smackage'),
- "smlnj_config_path" => File.join(ENV['HOME'], '.smlnj-pathconfig')
- }
- } )
+```ruby
+name "smackage"
+description "smackage"
+
+run_list(
+ "recipe[smackage::default]"
+)
+
+default_attributes( {
+ "smackage" => {
+ "dir" => File.join(ENV['HOME'], 'projects/smackage'),
+ "smlnj_config_path" => File.join(ENV['HOME'], '.smlnj-pathconfig')
+ }
+} )
+```

0 comments on commit 5bf8274

Please sign in to comment.