Class: CreateRailsApp::CLI::VersionChoice

Inherits:
Struct
  • Object
show all
Defined in:
lib/create_rails_app/cli.rb

Overview

Holds the resolved Rails version info and whether installation is needed.

Instance Attribute Summary collapse

Instance Attribute Details

#needs_install ⇒ Object

Returns the value of attribute needs_install

Returns:

  • (Object) —

    the current value of needs_install



16
17
18
# File 'lib/create_rails_app/cli.rb', line 16

def needs_install
  @needs_install
end

#series ⇒ Object

Returns the value of attribute series

Returns:

  • (Object) —

    the current value of series



16
17
18
# File 'lib/create_rails_app/cli.rb', line 16

def series
  @series
end

#version ⇒ Object

Returns the value of attribute version

Returns:

  • (Object) —

    the current value of version



16
17
18
# File 'lib/create_rails_app/cli.rb', line 16

def version
  @version
end