Commit b994b4af authored by Samuel Giddins's avatar Samuel Giddins

[Inch] Fix InstallationOptions documentation

parent f46242de
...@@ -112,6 +112,11 @@ module Pod ...@@ -112,6 +112,11 @@ module Pod
# Delegates the creation of {#installation_options} to the `Podfile` # Delegates the creation of {#installation_options} to the `Podfile`
# returned by the given block. # returned by the given block.
# #
# @param blk a block that returns the `Podfile` to create
# installation options from.
#
# @return [Void]
#
def delegate_installation_options(&blk) def delegate_installation_options(&blk)
define_method(:installation_options) do define_method(:installation_options) do
@installation_options ||= InstallationOptions.from_podfile(instance_eval(&blk)) @installation_options ||= InstallationOptions.from_podfile(instance_eval(&blk))
...@@ -121,6 +126,8 @@ module Pod ...@@ -121,6 +126,8 @@ module Pod
# Delegates the installation options attributes directly to # Delegates the installation options attributes directly to
# {#installation_options}. # {#installation_options}.
# #
# @return [Void]
#
def delegate_installation_option_attributes! def delegate_installation_option_attributes!
define_method(:respond_to_missing?) do |name, *args| define_method(:respond_to_missing?) do |name, *args|
installation_options.respond_to?(name, *args) || super installation_options.respond_to?(name, *args) || super
......
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