Class: VivlioStarter::CLI::DoctorCommands::ToolUpgrader::Plan

Inherits:
Data
  • Object
show all
Defined in:
lib/vivlio_starter/cli/doctor/tool_upgrader.rb

Overview

更新計画(全ツール分の行を表示順で保持する)

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#entriesObject (readonly)

Returns the value of attribute entries

Returns:

  • (Object)

    the current value of entries



135
136
137
# File 'lib/vivlio_starter/cli/doctor/tool_upgrader.rb', line 135

def entries
  @entries
end

Instance Method Details

#updatesObject



136
# File 'lib/vivlio_starter/cli/doctor/tool_upgrader.rb', line 136

def updates = entries.select { it.action == :upgrade }