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
#current_project, #current_project=, #flash_player_config, #flash_player_config_content, #flash_player_debug, #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, #remote_file_task, #user_asproject_home, #user_home, #user_library
#clean_file_name, #copy_file, #copy_files, #file_is_binary?, #initialize, #project_name, #render_file, #should_render?, #write_file?
Instance Method Details
#add_child_line ⇒ Object
236
237
238
239
240
241
242
|
# File 'lib/asclass.rb', line 236
def add_child_line
if(display_object?)
return "\n addChild(#{instance_name});"
else
return ""
end
end
|
#class_name ⇒ Object
212
213
214
|
# File 'lib/asclass.rb', line 212
def class_name
return self['class_name']
end
|
#display_object? ⇒ Boolean
232
233
234
|
# File 'lib/asclass.rb', line 232
def display_object?
self['display_object']
end
|
#full_class_name ⇒ Object
216
217
218
|
# File 'lib/asclass.rb', line 216
def full_class_name
return self['full_class_name']
end
|
#full_test_case_name ⇒ Object
224
225
226
|
# File 'lib/asclass.rb', line 224
def full_test_case_name
self['full_test_case_name']
end
|
#instance_name ⇒ Object
228
229
230
|
# File 'lib/asclass.rb', line 228
def instance_name
self['instance_name']
end
|
#package_name ⇒ Object
208
209
210
|
# File 'lib/asclass.rb', line 208
def package_name
return self['package_name']
end
|
#remove_child_line ⇒ Object
244
245
246
247
248
249
250
|
# File 'lib/asclass.rb', line 244
def remove_child_line
if(display_object?)
return "removeChild(#{instance_name});\n "
else
return ""
end
end
|
#test_case_name ⇒ Object
220
221
222
|
# File 'lib/asclass.rb', line 220
def test_case_name
return self['test_case_name']
end
|