README.md in dslable-0.0.2 vs README.md in dslable-0.0.3
- old
+ new
@@ -55,16 +55,16 @@
| dsl | mean |
|:----------- |:------------ |
| desc |set your field description|
### Args DSL
-| dsl | mean |
-|:----------- |:------------ |
-| desc |set your args description |
-| klass |set your args data type. you can choose [String, Array, Hash] |
-| required |if you want to set required, use this. |
-| default_value|if you want to set default value, use this. |
+| dsl | mean |
+|:----------- |:------------ |
+| desc |set your args description |
+| klass |set your args data type. you can choose [String, Array, Hash, :Boolean] |
+| required |if you want to set required, use this. |
+| default_value|if you want to set default value, use this. |
## Installation
Add this line to your application's Gemfile:
@@ -111,10 +111,10 @@
# set your field description
f.desc "field1 description"
f.args :args_name do |a|
# set your args description
a.desc "args description"
- # you can use String, Array and Hash
+ # you can use String, Array, Hash and :Boolean
a.klass String
# if you want not required, comment out following line
a.required
# if you comment out following line, default => nil
a.default_value "args_value2"