Class: XcodeMove::Group
Instance Attribute Summary
Attributes inherited from File
Instance Method Summary collapse
-
#initialize(path) ⇒ Group
constructor
A new instance of Group.
- #remove_from_project ⇒ Object
Methods inherited from File
#add_to_targets, #create_file_reference, #header?, #pbx_file, #project, #reachable_projects, #save_and_close, #with_dirname
Constructor Details
#initialize(path) ⇒ Group
Returns a new instance of Group.
112 113 114 115 |
# File 'lib/xcmv/file.rb', line 112 def initialize(path) path = Pathname.new path @path = path. end |
Instance Method Details
#remove_from_project ⇒ Object
117 118 119 120 121 122 123 124 125 |
# File 'lib/xcmv/file.rb', line 117 def remove_from_project if not pbx_file.nil? pbx_file.children.each do | c | c.remove_from_project end pbx_file.remove_from_project @pbx_file = nil end end |