lib/rspec_api_docs/formatter/resource/parameter.rb in rspec-api-docs-0.4.0 vs lib/rspec_api_docs/formatter/resource/parameter.rb in rspec-api-docs-0.5.0
- old
+ new
@@ -8,12 +8,12 @@
@parameter = parameter
end
# The scope of the parameter
#
- # @return [String]
+ # @return [Array<String>]
def scope
- parameter[:scope].join
+ parameter[:scope]
end
# If the parameter is required
#
# @return [String]