Sha256: a1322b8d8d3b9f0f3ce6b32b5da557a8c56ca859b5c08976e46cb5b8c2889caf

Contents?: true

Size: 395 Bytes

Versions: 3

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

module CallableTree
  module Node
    module External
      Output = Struct.new(:value, :options, :routes)

      module Verbose
        def call(input = nil, **options)
          output = super(input, **options)
          routes = self.routes

          Output.new(output, options, routes)
        end
      end

      private_constant :Verbose
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
callable_tree-0.1.2 lib/callable_tree/node/external/verbose.rb
callable_tree-0.1.1 lib/callable_tree/node/external/verbose.rb
callable_tree-0.1.0 lib/callable_tree/node/external/verbose.rb