Class: Kward::ConfigFiles::PromptTemplate
- Inherits:
-
Struct
- Object
- Struct
- Kward::ConfigFiles::PromptTemplate
- Defined in:
- lib/kward/config_files.rb
Instance Attribute Summary collapse
-
#argument_hint ⇒ Object
Returns the value of attribute argument_hint.
-
#body ⇒ Object
Returns the value of attribute body.
-
#command ⇒ Object
Returns the value of attribute command.
-
#description ⇒ Object
Returns the value of attribute description.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#argument_hint ⇒ Object
Returns the value of attribute argument_hint
29 30 31 |
# File 'lib/kward/config_files.rb', line 29 def argument_hint @argument_hint end |
#body ⇒ Object
Returns the value of attribute body
29 30 31 |
# File 'lib/kward/config_files.rb', line 29 def body @body end |
#command ⇒ Object
Returns the value of attribute command
29 30 31 |
# File 'lib/kward/config_files.rb', line 29 def command @command end |
#description ⇒ Object
Returns the value of attribute description
29 30 31 |
# File 'lib/kward/config_files.rb', line 29 def description @description end |
#path ⇒ Object
Returns the value of attribute path
29 30 31 |
# File 'lib/kward/config_files.rb', line 29 def path @path end |
Instance Method Details
#expand(arguments) ⇒ Object
30 31 32 |
# File 'lib/kward/config_files.rb', line 30 def (arguments) body.gsub("$ARGUMENTS", arguments.to_s) end |