lib/betterdocs/dsl/controller/action/param.rb in betterdocs-0.4.0 vs lib/betterdocs/dsl/controller/action/param.rb in betterdocs-0.5.0
- old
+ new
@@ -13,13 +13,14 @@
dsl_accessor :required, true
dsl_accessor :description, 'TODO'
+ # This value should be used to construct an example URL.
dsl_accessor :use_in_url, true
alias use_in_url? use_in_url
def to_s
- value
+ value.to_s
end
end