Class Uttk::Logger::Upper
In: lib/uttk/logger.rb
Parent: Object

Methods

[]   call   new   up  

Public Class methods

[Source]

# File lib/uttk/logger.rb, line 146
      def initialize ( &block )
        @called = false
        @block = block
      end

Public Instance methods

[]()

Alias for up

call()

Alias for up

[Source]

# File lib/uttk/logger.rb, line 150
      def up
        return if @called
        @called = true
        @block[]
      end

[Validate]