Sha256: 06eb072d603d1ef5cee9037361de9343ba56a221cd49427c6ca61be69dca6f09

Contents?: true

Size: 503 Bytes

Versions: 1

Compression:

Stored size: 503 Bytes

Contents

module Pacer
  module Routes
    module RouteOperations
      def section(section_name = nil)
        chain_route side_effect: :section, section_name: section_name
      end
    end
  end

  module SideEffect
    module Section
      attr_accessor :section_name

      protected

      attr_reader :section_visitor

      def attach_pipe(end_pipe)
        @section_visitor = pipe = Pacer::Pipes::SimpleVisitorPipe.new
        pipe.setStarts end_pipe if end_pipe
        pipe
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pacer-0.9.1.1-java lib/pacer/side_effect/section.rb