class Onoma::Migration::Actions::ItemMerging

Attributes

into[R]
name[R]
nomenclature[R]

Public Class Methods

new(element) click to toggle source
# File lib/onoma/migration/actions/item_merging.rb, line 6
def initialize(element)
  name = element['item'].split('#')
  @nomenclature = name.first
  @name = name.second
  @into = element['into'].to_s
end

Public Instance Methods

human_name() click to toggle source
# File lib/onoma/migration/actions/item_merging.rb, line 13
def human_name
  "Merge item #{@nomenclature}##{@name} into #{@into}"
end