Class: Ad::AgentArchitecture::Dsl::ChildDsl
- Inherits:
-
Object
- Object
- Ad::AgentArchitecture::Dsl::ChildDsl
- Includes:
- DataAccessors
- Defined in:
- lib/ad/agent_architecture/dsl/child_dsl.rb
Overview
This is the base class for all child DSLs
Direct Known Subclasses
Instance Attribute Summary collapse
-
#workflow ⇒ Object
readonly
Returns the value of attribute workflow.
Instance Method Summary collapse
- #data ⇒ Object
-
#initialize(workflow_dsl) ⇒ ChildDsl
constructor
A new instance of ChildDsl.
Methods included from DataAccessors
#attributes, #get_attribute, #get_prompt, #get_setting, #prompt_content, #prompts, #sections, #setting_value, #settings
Constructor Details
#initialize(workflow_dsl) ⇒ ChildDsl
Returns a new instance of ChildDsl.
11 12 13 |
# File 'lib/ad/agent_architecture/dsl/child_dsl.rb', line 11 def initialize(workflow_dsl) @workflow = workflow_dsl end |
Instance Attribute Details
#workflow ⇒ Object (readonly)
Returns the value of attribute workflow.
9 10 11 |
# File 'lib/ad/agent_architecture/dsl/child_dsl.rb', line 9 def workflow @workflow end |
Instance Method Details
#data ⇒ Object
15 16 17 |
# File 'lib/ad/agent_architecture/dsl/child_dsl.rb', line 15 def data @workflow.data end |