Class Object
In: lib/uttk/streams.rb
lib/uttk/logger/to_uttk_log.rb
lib/uttk/strategies/Iterate.rb
lib/uttk/streams/Diff.rb
lib/uttk/loaders/Loader.rb
Parent: Object

Methods

Public Instance methods

[Source]

# File lib/uttk/streams/Diff.rb, line 31
  def can_diff?
    true
  end

[Source]

# File lib/uttk/streams.rb, line 15
  def compare_stream ( stream )
    to_s.compare_stream(stream)
  end

[Source]

# File lib/uttk/streams/Diff.rb, line 24
  def to_diff_for_uttk_log ( my )
    IO.popen("diff -u --label my #{my} --label ref -", 'r+') do |diff|
      diff << to_s
      diff.close_write
      diff.readlines.join
    end
  end

[Source]

# File lib/uttk/streams.rb, line 18
  def to_s_for_uttk_log
    self
  end

[Source]

# File lib/uttk/logger/to_uttk_log.rb, line 23
        def to_uttk_log ( log )
          log.new_leaf(self)
        end

[Source]

# File lib/uttk/logger/to_uttk_log.rb, line 27
        def to_uttk_log_with_key ( key, log )
          log.new_node key do
            log << self
          end
        end

[Source]

# File lib/uttk/strategies/Iterate.rb, line 126
  def uttk_each ( *a, &b )
    each(*a, &b)
  end

[Source]

# File lib/uttk/loaders/Loader.rb, line 65
  def uttk_testify ( symtbl=nil, &block )
    symtbl = Uttk.default_symtbl if symtbl.nil?
    testify(symtbl.new_child, &block)
  end

[Validate]