Class: CF::Interactive::InteractiveDefault

Inherits:
Object
  • Object
show all
Defined in:
lib/cf/cli/command.rb

Instance Method Summary collapse

Constructor Details

#initialize(query) ⇒ InteractiveDefault

Returns a new instance of InteractiveDefault.



17
18
19
# File 'lib/cf/cli/command.rb', line 17

def initialize(query)
  @query = query
end

Instance Method Details

#to_procObject



25
26
27
# File 'lib/cf/cli/command.rb', line 25

def to_proc
  @query
end

#to_sObject



21
22
23
# File 'lib/cf/cli/command.rb', line 21

def to_s
  "(interaction)"
end