Class: Array

Inherits:
Object show all
Defined in:
lib/ttk/loaders/YamlOld.rb,
lib/ttk/symtbl.rb

Overview

:nodoc:

Direct Known Subclasses

TTK::Logger::Path

Instance Method Summary collapse

Instance Method Details

#symtbl_gsub(symtbl) ⇒ Object



73
74
75
76
77
78
79
80
81
# File 'lib/ttk/symtbl.rb', line 73

def symtbl_gsub ( symtbl )
  changed = false
  res = self.class.new
  each do |e|
    changed = true if new_e = e.symtbl_gsub(symtbl)
    res << (new_e || e)
  end
  changed ? res : nil
end

#yaml_load_mapObject



16
17
18
# File 'lib/ttk/loaders/YamlOld.rb', line 16

def yaml_load_map
  map { |x| x.yaml_load_map }
end