Class Class
In: lib/uttk/loaders/Loader.rb
lib/uttk.rb
Parent: Object

Methods

External Aliases

to_yaml -> old_to_yaml

Public Instance methods

[Source]

# File lib/uttk.rb, line 289
  def is_complex_yaml?
    false
  end

[Source]

# File lib/uttk/loaders/Loader.rb, line 121
  def testify ( symtbl, &block )
    raise ArgumentError, "nil symtbl" if symtbl.nil?
    unless self < Uttk::Strategies::Strategy
      raise ArgumentError, "Need a subclass of Strategy not #{name}"
    end
    new do |t|
      t.symtbl ||= symtbl
      block[t] if block
    end
  end

[Source]

# File lib/uttk.rb, line 286
  def to_yaml ( opts={} )
    to_s.to_yaml(opts)
  end

[Validate]