Sha256: 69c63e9cdd3865de96c63794802eb663bc14ae54dd96cc38e1167f0cd9b14992
Contents?: true
Size: 423 Bytes
Versions: 18
Compression:
Stored size: 423 Bytes
Contents
# frozen_string_literal: true module ScriptCore Stat = Struct.new(:instructions, :memory, :bytes_in, :time, :total_instructions) do def initialize(options) super(options[:instructions], options[:memory], options[:bytes_in], options[:time], options[:total_instructions]) end end Stat::Null = Stat.new( instructions: 0, memory: 0, bytes_in: 0, time: 0, total_instructions: 0 ) end
Version data entries
18 entries across 18 versions & 1 rubygems