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
42 43 44 |
# File 'lib/kward/config_files.rb', line 42 def argument_hint @argument_hint end |
#body ⇒ Object
Returns the value of attribute body
42 43 44 |
# File 'lib/kward/config_files.rb', line 42 def body @body end |
#command ⇒ Object
Returns the value of attribute command
42 43 44 |
# File 'lib/kward/config_files.rb', line 42 def command @command end |
#description ⇒ Object
Returns the value of attribute description
42 43 44 |
# File 'lib/kward/config_files.rb', line 42 def description @description end |
#path ⇒ Object
Returns the value of attribute path
42 43 44 |
# File 'lib/kward/config_files.rb', line 42 def path @path end |
Instance Method Details
#expand(arguments) ⇒ Object
43 44 45 |
# File 'lib/kward/config_files.rb', line 43 def (arguments) body.gsub("$ARGUMENTS", arguments.to_s) end |