Class: Array
Overview
:nodoc:
Direct Known Subclasses
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_map ⇒ Object
16 17 18 |
# File 'lib/ttk/loaders/YamlOld.rb', line 16 def yaml_load_map map { |x| x.yaml_load_map } end |