Commit dafd953d by cuong.tran

Process model_dir in rake task, #197

parent 4107fc7f
...@@ -39,7 +39,7 @@ module Annotate ...@@ -39,7 +39,7 @@ module Annotate
return if(@has_set_defaults) return if(@has_set_defaults)
@has_set_defaults = true @has_set_defaults = true
options = HashWithIndifferentAccess.new(options) options = HashWithIndifferentAccess.new(options)
[POSITION_OPTIONS, FLAG_OPTIONS, PATH_OPTIONS].flatten.each do |key| [POSITION_OPTIONS, FLAG_OPTIONS, PATH_OPTIONS, OTHER_OPTIONS].flatten.each do |key|
if(options.has_key?(key)) if(options.has_key?(key))
default_value = if(options[key].is_a?(Array)) default_value = if(options[key].is_a?(Array))
options[key].join(",") options[key].join(",")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment