class Onoma::Migration::Actions::ItemRemoval

Attributes

name[R]
nomenclature[R]

Public Class Methods

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

Public Instance Methods

human_name() click to toggle source
# File lib/onoma/migration/actions/item_removal.rb, line 12
def human_name
  "Remove item #{@nomenclature}##{@name}"
end