Class: UIC::Application::Behavior
Instance Attribute Summary
Attributes included from ElementBacked
Attributes included from FileBacked
Instance Method Summary collapse
-
#initialize(application, el) ⇒ Behavior
constructor
A new instance of Behavior.
Methods included from ElementBacked::ClassMethods
Methods included from FileBacked
#absolute_path, #file_found?, #filename, #relative_path, #save!, #save_as
Constructor Details
#initialize(application, el) ⇒ Behavior
Returns a new instance of Behavior.
14 15 16 17 18 |
# File 'lib/ruic/behaviors.rb', line 14 def initialize(application,el) self.owner = application self.el = el super( application.absolute_path(src) ) end |