Class: Yobi::RestoreVerboseStatus

Inherits:
FancyHash
  • Object
show all
Defined in:
lib/yobi/repository/restore.rb,
sig/yobi.rbs

Overview

One "verbose_status" message from a restore run, one per file. Only emitted when verbose: true is passed to Yobi::Repository#restore.

Instance Method Summary collapse

Methods inherited from FancyHash

#initialize, #inspect, #pretty_print

Constructor Details

This class inherits a constructor from Yobi::FancyHash

Instance Method Details

#actionString

Returns:

  • (String)


126
127
128
# File 'lib/yobi/repository/restore.rb', line 126

def action
  self["action"]
end

#itemString

Returns:

  • (String)


130
131
132
# File 'lib/yobi/repository/restore.rb', line 130

def item
  self["item"]
end

#sizeInteger

Returns:

  • (Integer)


134
135
136
# File 'lib/yobi/repository/restore.rb', line 134

def size
  self["size"]
end