Module Uttk::Strategies::Composite::Ordered
In: lib/uttk/strategies/Composite.rb

Methods

Public Class methods

[Source]

# File lib/uttk/strategies/Composite.rb, line 178
        def self.included ( aClass )

          aClass.module_eval do

            def new_symtbl
              if @contents.empty?
                @symtbl.new_child
              else
                @contents.last.symtbl.new_child
              end
            end
            protected :new_symtbl

          end

        end

Public Instance methods

[Source]

# File lib/uttk/strategies/Composite.rb, line 182
            def new_symtbl
              if @contents.empty?
                @symtbl.new_child
              else
                @contents.last.symtbl.new_child
              end
            end

[Validate]