Commit a8551422 authored by Marius Rackwitz's avatar Marius Rackwitz

[Doc] Fixed several documentation errors

parent fc19c0e9
......@@ -26,7 +26,7 @@ module Pod
# Generates and saves the xcconfig to the given path.
#
# @param [Pathname] path
# the path where the prefix header should be stored.
# the path where the xcconfig should be stored.
#
# @return [void]
#
......
......@@ -70,10 +70,10 @@ module Pod
add_developers_frameworks_if_needed(xcconfig, consumer.platform_name)
end
# Configures the given Xcconfig with the the build settings for the given
# Configures the given Xcconfig with the build settings for the given
# framework path.
#
# @param [Pathanme] framework_path
# @param [Pathname] framework_path
# The path of the framework.
#
# @param [Xcodeproj::Config] xcconfig
......@@ -92,11 +92,11 @@ module Pod
xcconfig.merge!(build_settings)
end
# Configures the given Xcconfig with the the build settings for the given
# Configures the given Xcconfig with the build settings for the given
# library path.
#
# @param [Pathanme] framework_path
# The path of the framework.
# @param [Pathname] library_path
# The path of the library.
#
# @param [Xcodeproj::Config] xcconfig
# The xcconfig to edit.
......
......@@ -61,7 +61,7 @@ module Pod
#
attr_reader :sandbox
# @return [Library] The library whose target needs to be generated.
# @return [Target] The library whose target needs to be generated.
#
attr_reader :library
......@@ -77,7 +77,7 @@ module Pod
# @!group Private implementation
# @param [Sandbox] sandbox @see sandbox
# @param [Library] library @see library
# @param [Target] library @see library
#
def initialize(sandbox, library)
@sandbox = sandbox
......
......@@ -181,7 +181,7 @@ module Pod
# Creates the models that represent the libraries generated by CocoaPods.
#
# @return [Array<Libraries>] the generated libraries.
# @return [Array<Target>] the generated libraries.
#
def generate_targets
targets = []
......
......@@ -40,7 +40,7 @@ module Pod
# @param [Podfile] podfile @see #podfile
# @param [Sandbox] sandbox @see #sandbox
# @param [Pathname] installation_root @see #installation_root
# @param [Library] libraries @see #libraries
# @param [Target] targets @see #targets
#
# @todo Too many initialization arguments
#
......
......@@ -168,7 +168,7 @@ module Pod
end
# @return [Hash{String => Array<Pathname>}] A hash that describes the
# resource bundles of the Pod. The keys reppresent the name of
# resource bundles of the Pod. The keys represent the name of
# the bundle while the values the path of the resources.
#
def resource_bundles
......
......@@ -6,7 +6,7 @@ module Pod
# This class is used to represent both the targets and their libraries.
#
class Target
# @return [PBXNativeTarget] the target definition of the Podfile that
# @return [TargetDefinition] the target definition of the Podfile that
# generated this target.
#
attr_reader :target_definition
......
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