Sha256: 6faf1042655c441d7f6480cc7b123828047852303ce8ba0f4aa378d8381800b7
Contents?: true
Size: 519 Bytes
Versions: 8
Compression:
Stored size: 519 Bytes
Contents
module Onoma class 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 label "remove_nomenclature #{@name}" end def human_name "Remove nomenclature #{@name}" end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems