Commit d92c6880 authored by Samuel Ford's avatar Samuel Ford

return Pathname instead of string, remove obsolete comment

parent 61969210
...@@ -368,10 +368,10 @@ module Pod ...@@ -368,10 +368,10 @@ module Pod
# @!group Helpers # @!group Helpers
# @return [String] the path as declared in the podspec # @return [Pathname] the path as declared in the podspec
# #
def declared_path def declared_path
(params[:path] || params[:local]).to_s Pathname.new params[:path] || params[:local]
end end
# @return [Pathname] the path of the podspec. # @return [Pathname] the path of the podspec.
......
...@@ -338,9 +338,6 @@ module Pod ...@@ -338,9 +338,6 @@ module Pod
# @param [#to_s] path # @param [#to_s] path
# The local path where the Pod is stored. # The local path where the Pod is stored.
# #
# @param [Bool] was_absolute
# True if the specified local path was absolute.
#
# @return [void] # @return [void]
# #
def store_local_path(name, path) def store_local_path(name, path)
......
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