Method: CF::Interactive::CFState#initialize

Defined in:
lib/cf/cli/interactive.rb

#initialize(options = {}, answer = nil, position = 0) ⇒ CFState

Returns a new instance of CFState.



88
89
90
91
92
93
94
# File 'lib/cf/cli/interactive.rb', line 88

def initialize(options = {}, answer = nil, position = 0)
  @options = options
  @answer = answer || ""
  @default = options.key? :default
  @position = position
  @done = false
end