Skip to content

Commit

Permalink
[Specification::DSL] Fix resource_bundles documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Aug 1, 2013
1 parent 0bcb906 commit c358d84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions lib/cocoapods-core/specification/consumer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,9 @@ def self.spec_attr_accessor(name)
#
spec_attr_accessor :vendored_libraries

# @return [Array<String>] The paths of the resource bundles shipped with
# the Pod.
# @return [Hash{String=>String}]] hash where the keys are the names of
# the resource bundles and the values are they relative file

This comment has been minimized.

Copy link
@alloy

alloy Aug 1, 2013

Member

‘they’ -> ‘their’

Btw, will you be joining Campfire?

# patterns.
#
spec_attr_accessor :resource_bundles

Expand Down
7 changes: 4 additions & 3 deletions lib/cocoapods-core/specification/dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ def dependency(*args)
# bundles as there can be name collisions using the resources
# attribute.
#
# The name of the bundle should at least include the name of the Pod
# The names of the bundles should at least include the name of the Pod
# to minimize the change of name collisions.
#
# To provide different resources per platform namespaced bundles *must*
Expand All @@ -862,8 +862,9 @@ def dependency(*args)
#
# spec.resource_bundles = { 'MapBox' => ['MapView/Map/Resources/*.png'], 'OtherResources' => ['MapView/Map/OtherResources/*.png'] }
#
# @param [Hash] resource_bundles
# A list of resource bundles paths.
# @param [Hash{String=>String}] resource_bundles
# A hash where the keys are the names of the resource bundles
# and the values are they relative file patterns.
#
attribute :resource_bundles, {
:types => [String, Array],
Expand Down

0 comments on commit c358d84

Please sign in to comment.