mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 15:13:56 +08:00
15 lines
224 B
Ruby
15 lines
224 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Migrations::Converters::Base
|
||
|
class StepExecutor
|
||
|
def initialize(step)
|
||
|
@step = step
|
||
|
end
|
||
|
|
||
|
def execute
|
||
|
puts @step.class.title
|
||
|
@step.execute
|
||
|
end
|
||
|
end
|
||
|
end
|