Method: Axiom::Algebra::Rename::Aliases#each
- Defined in:
- lib/axiom/algebra/rename/aliases.rb
#each {|old, new| ... } ⇒ self
Iterate over each old and new attribute
119 120 121 122 123 |
# File 'lib/axiom/algebra/rename/aliases.rb', line 119 def each return to_enum unless block_given? @aliases.each { |old_attribute, new_attribute| yield old_attribute, new_attribute } self end |