Class: Generators::Avo::SkillsInstallPanel::Screen

Inherits:
Struct
  • Object
show all
Defined in:
lib/generators/avo/skills_install_panel.rb

Overview

visible_when takes the answers so far, so a screen that only makes sense given an earlier answer is skipped rather than asked pointlessly. summary takes them too, and renders above the options — how the final confirm screen shows what it is about to do.

Instance Attribute Summary collapse

Instance Attribute Details

#hintObject

Returns the value of attribute hint

Returns:

  • (Object)

    the current value of hint



20
21
22
# File 'lib/generators/avo/skills_install_panel.rb', line 20

def hint
  @hint
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



20
21
22
# File 'lib/generators/avo/skills_install_panel.rb', line 20

def key
  @key
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



20
21
22
# File 'lib/generators/avo/skills_install_panel.rb', line 20

def kind
  @kind
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



20
21
22
# File 'lib/generators/avo/skills_install_panel.rb', line 20

def options
  @options
end

#summaryObject

Returns the value of attribute summary

Returns:

  • (Object)

    the current value of summary



20
21
22
# File 'lib/generators/avo/skills_install_panel.rb', line 20

def summary
  @summary
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



20
21
22
# File 'lib/generators/avo/skills_install_panel.rb', line 20

def title
  @title
end

#visible_whenObject

Returns the value of attribute visible_when

Returns:

  • (Object)

    the current value of visible_when



20
21
22
# File 'lib/generators/avo/skills_install_panel.rb', line 20

def visible_when
  @visible_when
end