Sha256: 7e4abcd7d61aa27ed1a73bfe69725e1f368b9fcd0d7234c6ad7afde96a48f74a
Contents?: true
Size: 672 Bytes
Versions: 13
Compression:
Stored size: 672 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module Avm module LocalProjects module Jobs class Update enable_console_speaker common_constructor :instance def run instance.stereotypes.each { |stereotype| run_stereotype(stereotype) } end private def run_stereotype(stereotype) if stereotype.update_class.present? puts stereotype.label + ': update class found. Running...' stereotype.update_class.new(instance).run else puts stereotype.label + ': update class not found' end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems