mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:39:52 +01:00
Symbols aren't strings :-(
This commit is contained in:
parent
660972a70f
commit
6f6ab1cf8a
2 changed files with 4 additions and 4 deletions
6
Rakefile
6
Rakefile
|
@ -283,9 +283,9 @@ namespace :justask do
|
|||
if value.is_a? String
|
||||
params_txt += "\n - required\n - type: TODO\n - CAVEAT: This is a REQUEST PATH variable."
|
||||
else
|
||||
params_txt += "\n - #{if value["required"] == true then "required" else "optional" end}" unless value["required"].nil?
|
||||
params_txt += "\n - type: #{value["type"].split("::").last}" unless value["type"].nil?
|
||||
params_txt += "\n - default: #{value["default"]}" unless value["default"].nil?
|
||||
params_txt += "\n - #{if value[:required] == true then "required" else "optional" end}" unless value[:required].nil?
|
||||
params_txt += "\n - type: #{value[:type].split("::").last}" unless value[:type].nil?
|
||||
params_txt += "\n - default: #{value[:default]}" unless value[:default].nil?
|
||||
end
|
||||
end
|
||||
|
||||
|
|
2
docs/api
2
docs/api
|
@ -1 +1 @@
|
|||
Subproject commit a0fd5759c3e8799601a7be9aa586744c65cedb11
|
||||
Subproject commit 806a84ea013c54085b8c3aef41e35cc6561b0c7a
|
Loading…
Reference in a new issue