class OctoMerge::Execute
Attributes
context[R]
strategy[R]
Public Class Methods
new(context:, strategy:)
click to toggle source
# File lib/octo_merge/execute.rb, line 5 def initialize(context:, strategy:) @context = context @strategy = strategy end
Public Instance Methods
env()
click to toggle source
# File lib/octo_merge/execute.rb, line 14 def env @env ||= strategy.new( working_directory: context.working_directory, pull_requests: context.pull_requests ) end
run()
click to toggle source
# File lib/octo_merge/execute.rb, line 10 def run env.run end