Method: Pod::Podfile::TargetDefinition#to_hash
- Defined in:
- lib/cocoapods-core/podfile/target_definition.rb
#to_hash ⇒ Hash
Returns The hash representation of the target definition.
831 832 833 834 835 836 837 |
# File 'lib/cocoapods-core/podfile/target_definition.rb', line 831 def to_hash hash = internal_hash.dup unless children.empty? hash['children'] = children.map(&:to_hash) end hash end |