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 Jul 31, 2013
1 parent d8a57fc commit d5eaba7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/cocoapods-core/specification/dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -858,17 +858,18 @@ def dependency(*args)

# @!method resource_bundles=(*frameworks)
#
# The paths of the resources bundles that come shipped with the Pod.
# This attribute allows to define the name and the file of the resource
# bundles which should be built for the Pod.
#
# @example
#
# spec.ios.resource_bundle = { 'MapBox' => 'MapView/Map/Resources/*.png' }
#
# @example
#
# spec.resource_bundle = { 'MapBox' => ['MapView/Map/Resources/*.png'], 'OtherResources' => ['MapView/Map/OtherResources/*.png'] }
# spec.resource_bundles = { 'MapBox' => ['MapView/Map/Resources/*.png'], 'OtherResources' => ['MapView/Map/OtherResources/*.png'] }
#
# @param [String, Array<String>] resource_bundles
# @param [Hash] resource_bundles
# A list of resource bundles paths.
#
attribute :resource_bundles, {
Expand All @@ -892,7 +893,8 @@ def dependency(*args)
#
# spec.resources = ["Images/*.png", "Sounds/*"]
#
# @param [String, Array<String>] resources the resources of the Pod.
# @param [String, Array<String>] resources
# The resources shipped with the Pod.
#
attribute :resources, {
:container => Array,
Expand Down

0 comments on commit d5eaba7

Please sign in to comment.