Class: UIC::Application::Behavior

Inherits:
Behavior
  • Object
show all
Extended by:
ElementBacked::ClassMethods
Includes:
ElementBacked
Defined in:
lib/ruic/behaviors.rb

Instance Attribute Summary

Attributes included from ElementBacked

#el, #owner

Attributes inherited from Behavior

#lua

Attributes included from FileBacked

#doc, #file

Instance Method Summary collapse

Methods included from ElementBacked::ClassMethods

xmlattribute

Methods inherited from Behavior

#errors, #errors?, #load_from_file

Methods included from FileBacked

#file_found?, #filename, #path_to, #save!, #save_as, #to_xml

Constructor Details

#initialize(application, el) ⇒ Behavior

Returns a new instance of Behavior.



27
28
29
30
31
# File 'lib/ruic/behaviors.rb', line 27

def initialize(application,el)
	self.owner = application
	self.el    = el
	super( application.path_to(src) )
end