Class: Vendor::XCode::Proxy::PBXGroup
- Defined in:
- lib/vendor/xcode/proxy/pbx_group.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
attribute_name, #file?, generate_id, #initialize, #inspect, #method_missing, object_references, #read_attribute, reference, #respond_to?, #to_ascii_plist, #write_attribute
Constructor Details
This class inherits a constructor from Vendor::XCode::Proxy::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Vendor::XCode::Proxy::Base
Instance Method Details
#full_path ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/vendor/xcode/proxy/pbx_group.rb', line 11 def full_path parts = [] current = self while current parts.push current.name current = current.parent end parts.reverse.compact.join("/") end |
#group? ⇒ Boolean
23 24 25 |
# File 'lib/vendor/xcode/proxy/pbx_group.rb', line 23 def group? true end |
#name ⇒ Object
7 8 9 |
# File 'lib/vendor/xcode/proxy/pbx_group.rb', line 7 def name @attributes['name'] || @attributes['path'] end |