Class: InputDefault
- Inherits:
-
Object
- Object
- InputDefault
- Includes:
- InputRenderer
- Defined in:
- lib/inquirer/prompts/input.rb
Overview
Default formatting for list rendering
Constant Summary collapse
- C =
Term::ANSIColor
Instance Method Summary collapse
-
#initialize(style) ⇒ InputDefault
constructor
A new instance of InputDefault.
Methods included from InputRenderer
Constructor Details
#initialize(style) ⇒ InputDefault
Returns a new instance of InputDefault.
28 29 30 31 32 33 |
# File 'lib/inquirer/prompts/input.rb', line 28 def initialize( style ) @heading = "%s: " @default = "(%s) " @value = "%s" @footer = "%s" end |