class Onoma::Migration::Actions::NomenclatureRemoval

Attributes

name[R]
nomenclature[R]

Public Class Methods

new(element) click to toggle source
# File lib/onoma/migration/actions/nomenclature_removal.rb, line 7
def initialize(element)
  @nomenclature = element['nomenclature']
  raise 'No given nomenclature' if @nomenclature.blank?
end

Public Instance Methods

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