Commit c66e1a7f authored by Marius Rackwitz's avatar Marius Rackwitz

[Doc] More precise type annotations

parent db176ca0
...@@ -6,17 +6,17 @@ module Pod ...@@ -6,17 +6,17 @@ module Pod
# with existing headers of the podspec. # with existing headers of the podspec.
# #
class ModuleMap class ModuleMap
# @return [Target] the target represented by this Info.plist. # @return [PodTarget] the target represented by this Info.plist.
# #
attr_reader :target attr_reader :target
# @return [Array] the private headers of the module # @return [Array<#to_s>] the private headers of the module
# #
attr_accessor :private_headers attr_accessor :private_headers
# Initialize a new instance # Initialize a new instance
# #
# @param [Target] target @see target # @param [PodTarget] target @see target
# #
def initialize(target) def initialize(target)
@target = target @target = target
......
...@@ -33,7 +33,7 @@ module Pod ...@@ -33,7 +33,7 @@ module Pod
# #
attr_reader :installation_root attr_reader :installation_root
# @return [Array<Target>] the targets represented in the Podfile. # @return [Array<AggregateTarget>] the targets represented in the Podfile.
# #
attr_reader :targets attr_reader :targets
...@@ -42,7 +42,7 @@ module Pod ...@@ -42,7 +42,7 @@ module Pod
# @param [Podfile] podfile @see #podfile # @param [Podfile] podfile @see #podfile
# @param [Sandbox] sandbox @see #sandbox # @param [Sandbox] sandbox @see #sandbox
# @param [Pathname] installation_root @see #installation_root # @param [Pathname] installation_root @see #installation_root
# @param [Target] targets @see #targets # @param [Array<AggregateTarget>] targets @see #targets
# #
# @todo Too many initialization arguments # @todo Too many initialization arguments
# #
......
...@@ -14,13 +14,13 @@ module Pod ...@@ -14,13 +14,13 @@ module Pod
# #
EMBED_FRAMEWORK_TARGET_TYPES = [:application, :unit_test_bundle].freeze EMBED_FRAMEWORK_TARGET_TYPES = [:application, :unit_test_bundle].freeze
# @return [Target] the target that should be integrated. # @return [AggregateTarget] the target that should be integrated.
# #
attr_reader :target attr_reader :target
# Init a new TargetIntegrator # Init a new TargetIntegrator
# #
# @param [Target] target @see #target_definition # @param [AggregateTarget] target @see #target
# #
def initialize(target) def initialize(target)
@target = target @target = target
......
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