Class: Upkeep::Replay::ArrayValue

Inherits:
Object
  • Object
show all
Includes:
Value
Defined in:
lib/upkeep/replay.rb

Instance Method Summary collapse

Methods included from Value

from_h

Instance Method Details

#to_hObject



248
249
250
# File 'lib/upkeep/replay.rb', line 248

def to_h
  { type: type, items: items.map(&:to_h) }
end

#typeObject



246
# File 'lib/upkeep/replay.rb', line 246

def type = "array"