Class: UIC::Application::Behavior
- Includes:
- ElementBacked
- Defined in:
- lib/ruic/behaviors.rb
Instance Attribute Summary
Attributes included from ElementBacked
Attributes inherited from Behavior
Attributes included from FileBacked
Instance Method Summary collapse
-
#initialize(application, el) ⇒ Behavior
constructor
A new instance of Behavior.
Methods included from ElementBacked
Methods inherited from Behavior
#errors, #errors?, #load_from_file
Methods included from FileBacked
#file_found?, #filename, #path_to
Constructor Details
#initialize(application, el) ⇒ Behavior
Returns a new instance of Behavior.
26 27 28 29 30 |
# File 'lib/ruic/behaviors.rb', line 26 def initialize(application,el) self.owner = application self.el = el super( application.path_to(src) ) end |