Class: UIC::Application::Effect
Instance Attribute Summary
Attributes included from ElementBacked
Attributes inherited from Effect
Attributes included from FileBacked
Instance Method Summary collapse
-
#initialize(application, el) ⇒ Effect
constructor
A new instance of Effect.
Methods included from ElementBacked::ClassMethods
Methods inherited from Effect
#errors, #errors?, #load_from_file
Methods included from FileBacked
#absolute_path, #file_found?, #filename, #relative_path, #save!, #save_as
Constructor Details
#initialize(application, el) ⇒ Effect
Returns a new instance of Effect.
27 28 29 30 31 |
# File 'lib/ruic/effect.rb', line 27 def initialize(application,el) self.owner = application self.el = el super( application.absolute_path(src) ) end |