Class: SnapshotArchive::Formatters::List
- Inherits:
-
Object
- Object
- SnapshotArchive::Formatters::List
- Defined in:
- lib/snapshot_archive/formatters.rb
Instance Attribute Summary collapse
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(metadata) ⇒ List
constructor
A new instance of List.
Constructor Details
#initialize(metadata) ⇒ List
Returns a new instance of List.
9 10 11 |
# File 'lib/snapshot_archive/formatters.rb', line 9 def initialize() @metadata = end |
Instance Attribute Details
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
8 9 10 |
# File 'lib/snapshot_archive/formatters.rb', line 8 def @metadata end |
Class Method Details
.call(metadata) ⇒ Object
4 5 6 |
# File 'lib/snapshot_archive/formatters.rb', line 4 def self.call() new().call end |