Sha256: 92bb1751200d5ae16709d897bcc63fb255e231be8baaab312e24f0d1865547e2

Contents?: true

Size: 448 Bytes

Versions: 29

Compression:

Stored size: 448 Bytes

Contents

module Onoma
  module Migration
    module Actions
      class NomenclatureRemoval < Onoma::Migration::Actions::Base
        attr_reader :nomenclature

        def initialize(element)
          @nomenclature = element['nomenclature']
          raise 'No given nomenclature' if @nomenclature.blank?
        end

        alias name nomenclature

        def human_name
          "Remove nomenclature #{@name}"
        end
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
onoma-0.9.3 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.9.2 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.9.1 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.9.0 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.8.9 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.8.8 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.8.7 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.8.6 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.8.5 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.8.4 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.8.3 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.8.2 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.8.1 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.8.0 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.7.0 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.6.4 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.6.3 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.6.2 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.6.0 lib/onoma/migration/actions/nomenclature_removal.rb
onoma-0.5.6 lib/onoma/migration/actions/nomenclature_removal.rb