Sha256: 6f2d5c9118c3c01d2026e70622c38999a910aceede44f8bae9423e70779bbd2d
Contents?: true
Size: 418 Bytes
Versions: 8
Compression:
Stored size: 418 Bytes
Contents
module Onoma class 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
8 entries across 8 versions & 1 rubygems