Class: UIC::Application::Presentation
- Inherits:
-
Presentation
- Object
- Presentation
- UIC::Application::Presentation
- Includes:
- ElementBacked
- Defined in:
- lib/ruic/presentation.rb
Instance Attribute Summary
Attributes included from ElementBacked
Attributes included from FileBacked
Instance Method Summary collapse
-
#initialize(application, el) ⇒ Presentation
constructor
A new instance of Presentation.
- #path_to(el, from = nil) ⇒ Object
Methods included from ElementBacked
Methods inherited from Presentation
#asset_by_id, #asset_for_el, #assets, #at, #attribute_linked?, #child_assets, #errors, #errors?, #find, #get_attribute, #has_slide?, #image_paths, #image_usage, #inspect, #load_from_file, #master?, #master_slide_for, #owning_component, #owning_component_element, #owning_or_self_component_element, #parent_asset, #rebuild_caches_from_document, #referenced_files, #replace_asset, #save!, #save_as, #scene, #set_attribute, #slide_index, #slides_for, #to_xml, #unlink_attribute
Methods included from FileBacked
Constructor Details
#initialize(application, el) ⇒ Presentation
Returns a new instance of Presentation.
346 347 348 349 350 |
# File 'lib/ruic/presentation.rb', line 346 def initialize(application,el) self.owner = application self.el = el super( application.path_to(src) ) end |
Instance Method Details
#path_to(el, from = nil) ⇒ Object
353 354 355 |
# File 'lib/ruic/presentation.rb', line 353 def path_to( el, from=nil ) "#{id}:#{super}" end |