Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update README.md

Ruby syntax in readme
  • Loading branch information...
commit 5bf827419b1755ae9fa3e79ec2628ff013e32fe8 1 parent 8310608
@dmalikov authored
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')
+ }
+} )
+```
Please sign in to comment.
Something went wrong with that request. Please try again.