Sha256: 69e83d6fcde308d5ce8f9b96539777b284b69676a4ac212d3d1fc18c6c5eb578

Contents?: true

Size: 746 Bytes

Versions: 2

Compression:

Stored size: 746 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Service
    module Plugins
      ##
      # @api private
      #
      # @note `HasMermaidFlowchart` is experimental. It is NOT decided yet whether its support will be continued. For example, it does NOT work with `or_step`.
      #
      module HasMermaidFlowchart
        module Concern
          include Support::Concern

          class_methods do
            ##
            # @api private
            #
            # @return [ConvenientService::Service::Plugins::HasMermaidFlowchart::Entities::Flowchart]
            #
            def mermaid_flowchart
              Entities::Flowchart.new(service: self)
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/service/plugins/has_mermaid_flowchart/concern.rb
convenient_service-0.19.0 lib/convenient_service/service/plugins/has_mermaid_flowchart/concern.rb