Sha256: bab2fb72709f37d64c745e04977a9dc3a6915b3a753d42f71c6019ac9a714af4
Contents?: true
Size: 674 Bytes
Versions: 40
Compression:
Stored size: 674 Bytes
Contents
# The order in which updates should happen: # @note several challenges were found during the design of this class: # This translated into dividing the command sequence into different `STAGES`. module Eco::API::UseCases::GraphQL::Helpers::Location class Command::Diffs < Eco::Data::Locations::NodeDiff::NodesDiff class_resolver :diff_result_class, Command::Diff require_relative 'diffs/stages' include Stages::Commandable def commands self.class.stages.each_with_object([]) do |stage, out| comms = stage_commands(stage) out.concat(comms) yield(comms, stage) if block_given? end end end end
Version data entries
40 entries across 40 versions & 1 rubygems