Module: UIC::ElementBacked

Included in:
Application::Behavior, Application::Presentation, Application::StateMachine
Defined in:
lib/ruic/interfaces.rb

Overview

Supports classes that represent an XML element (e.g. <presentation id="main" src="foo.uip"/>).

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary collapse

Instance Attribute Details

#elNokogiri::XML::Element

Returns the element backing this instance.

Returns:

  • (Nokogiri::XML::Element)

    the element backing this instance.



58
59
60
# File 'lib/ruic/interfaces.rb', line 58

def el
  @el
end

#ownerObject

Returns the object in charge of this instance.

Returns:

  • (Object)

    the object in charge of this instance.



55
56
57
# File 'lib/ruic/interfaces.rb', line 55

def owner
  @owner
end