Sha256: d27d2be7f3816e2db9f8312cba1005ba55e4831f5f4b251aea414bcc0d9885c7

Contents?: true

Size: 1 KB

Versions: 4

Compression:

Stored size: 1 KB

Contents

require 'trailblazer/operation'

class BenchmarkCLI
  module Examples
    module TenSteps
      class TB < Trailblazer::Operation
        step :s1
        step :s2
        step :s3
        step :s4
        step :s5
        step :s6
        step :s7
        step :s8
        step :s9
        step :s10

        def s1(opts, **)
          opts[:s1] = true
        end

        def s2(opts, s1:, **)
          opts[:s2] = true
        end

        def s3(opts, s2:, **)
          opts[:s3] = true
        end

        def s4(opts, s3:, **)
          opts[:s4] = true
        end

        def s5(opts, s4:, **)
          opts[:s5] = true
        end

        def s6(opts, s5:, **)
          opts[:s6] = true
        end

        def s7(opts, s6:, **)
          opts[:s7] = true
        end

        def s8(opts, s7:, **)
          opts[:s8] = true
        end

        def s9(opts, s8:, **)
          opts[:s9] = true
        end

        def s10(opts, s9:, **)
          opts[:s10] = true
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flows-0.6.0 bin/benchmark_cli/examples/ten_steps/trailblazer.rb
flows-0.5.1 bin/benchmark_cli/examples/ten_steps/trailblazer.rb
flows-0.5.0 bin/benchmark_cli/examples/ten_steps/trailblazer.rb
flows-0.4.0 bin/benchmark_cli/examples/ten_steps/trailblazer.rb