Class: Array
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#symtbl_gsub(symtbl) ⇒ Object
71 72 73 74 75 76 77 78 79 |
# File 'lib/ttk/symtbl.rb', line 71 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 |