Class: AsProject::AsClassProject
Overview
TODO: Refactor EclipseProject out so that Project just instantiates a parser as needed and this class extends the more abstract Project
Instance Attribute Summary
Attributes inherited from PathFinder
#execution_dir
#ignore_all, #replace_all
Instance Method Summary
collapse
#file_path, #file_path=, #initialize, #parse
Methods inherited from Project
#binary_dir, #find_project, #initialize, #library_dir, #resolve_location, #source_dir, #test_dir
Methods inherited from PathFinder
#asproject_player_trust, #current_project, #current_project=, #downloads, #flash_player_config, #flash_player_config_content, #flash_player_home, #flash_player_log, #flash_player_trust, #gem_asproject_home, #get_available_templates, #get_children, #get_gem_template, #get_project_template, #get_template, #get_user_template, #initialize, #lib_downloads, #mxmlc, #remote_file_task, #user, #user_asproject_home, #user_home, #user_library
#b, #clean_file_name, #copy_file, #copy_files, #initialize, #is_binary?, #project_name, #render_file, #should_render?, #write_file?
Instance Method Details
#add_child_line ⇒ Object
233
234
235
236
237
238
239
|
# File 'lib/asclass.rb', line 233
def add_child_line
if(display_object?)
return "\n addChild(#{instance_name});"
else
return ""
end
end
|
#class_name ⇒ Object
209
210
211
|
# File 'lib/asclass.rb', line 209
def class_name
return self['class_name']
end
|
#display_object? ⇒ Boolean
229
230
231
|
# File 'lib/asclass.rb', line 229
def display_object?
self['display_object']
end
|
#full_class_name ⇒ Object
213
214
215
|
# File 'lib/asclass.rb', line 213
def full_class_name
return self['full_class_name']
end
|
#full_test_case_name ⇒ Object
221
222
223
|
# File 'lib/asclass.rb', line 221
def full_test_case_name
self['full_test_case_name']
end
|
#instance_name ⇒ Object
225
226
227
|
# File 'lib/asclass.rb', line 225
def instance_name
self['instance_name']
end
|
#package_name ⇒ Object
205
206
207
|
# File 'lib/asclass.rb', line 205
def package_name
return self['package_name']
end
|
#remove_child_line ⇒ Object
241
242
243
244
245
246
247
|
# File 'lib/asclass.rb', line 241
def remove_child_line
if(display_object?)
return "removeChild(#{instance_name});\n "
else
return ""
end
end
|
#test_case_name ⇒ Object
217
218
219
|
# File 'lib/asclass.rb', line 217
def test_case_name
return self['test_case_name']
end
|