Sha256: 5f0243a76fae2091a5baa1cb8ef9aa9d3a442d4a5baeb32dae1ea5975ae99990
Contents?: true
Size: 419 Bytes
Versions: 30
Compression:
Stored size: 419 Bytes
Contents
module Onoma module Migration module Actions class ItemRemoval < Onoma::Migration::Actions::Base attr_reader :nomenclature, :name def initialize(element) name = element['item'].split('#') @nomenclature = name.first @name = name.second end def human_name "Remove item #{@nomenclature}##{@name}" end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems