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)


147
148
149
# File 'lib/yobi/repository/restore.rb', line 147

def action
  self["action"]
end

#itemString

Returns:

  • (String)


152
153
154
# File 'lib/yobi/repository/restore.rb', line 152

def item
  self["item"]
end

#sizeInteger

Returns:

  • (Integer)


157
158
159
# File 'lib/yobi/repository/restore.rb', line 157

def size
  self["size"]
end