Class: ConvenientService::Service::Plugins::HasMermaidFlowchart::Entities::Flowchart::Entities::Code::Commands::GenerateLines Private
- Inherits:
-
ConvenientService::Support::Command
- Object
- ConvenientService::Support::Command
- ConvenientService::Service::Plugins::HasMermaidFlowchart::Entities::Flowchart::Entities::Code::Commands::GenerateLines
- Includes:
- ConvenientService::Support::Delegate
- Defined in:
- lib/convenient_service/service/plugins/has_mermaid_flowchart/entities/flowchart/entities/code/commands/generate_lines.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #code ⇒ Object readonly private
Instance Method Summary collapse
- #call ⇒ Array<String> private
- #flowchart ⇒ ConvenientService::Service::Plugins::HasMermaidFlowchart::Entities::Flowchart private
- #initialize(code:) ⇒ void constructor private
- #service ⇒ ConvenientService::Service private
- #settings ⇒ ConvenientService::Service::Plugins::HasMermaidFlowchart::Entities::Flowchart::Entities::Settings private
Methods included from ConvenientService::Support::Delegate::ClassMethodsForForwardable
Methods inherited from ConvenientService::Support::Command
Constructor Details
#initialize(code:) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
50 51 52 |
# File 'lib/convenient_service/service/plugins/has_mermaid_flowchart/entities/flowchart/entities/code/commands/generate_lines.rb', line 50 def initialize(code:) @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 |
# File 'lib/convenient_service/service/plugins/has_mermaid_flowchart/entities/flowchart/entities/code/commands/generate_lines.rb', line 21 def code @code end |
Instance Method Details
#call ⇒ Array<String>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
59 60 61 |
# File 'lib/convenient_service/service/plugins/has_mermaid_flowchart/entities/flowchart/entities/code/commands/generate_lines.rb', line 59 def call [first_line, *service_lines] end |
#flowchart ⇒ ConvenientService::Service::Plugins::HasMermaidFlowchart::Entities::Flowchart
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
28 |
# File 'lib/convenient_service/service/plugins/has_mermaid_flowchart/entities/flowchart/entities/code/commands/generate_lines.rb', line 28 delegate :flowchart, to: :code |
#service ⇒ ConvenientService::Service
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
35 |
# File 'lib/convenient_service/service/plugins/has_mermaid_flowchart/entities/flowchart/entities/code/commands/generate_lines.rb', line 35 delegate :service, to: :flowchart |
#settings ⇒ ConvenientService::Service::Plugins::HasMermaidFlowchart::Entities::Flowchart::Entities::Settings
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
42 |
# File 'lib/convenient_service/service/plugins/has_mermaid_flowchart/entities/flowchart/entities/code/commands/generate_lines.rb', line 42 delegate :settings, to: :flowchart |