struct Crowbar::HistoryEntry

Overview

Serializable log entry tracking session events

Included Modules

Defined in:

crowbar/session.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(iteration : Int32, action : String, mutators : Array(String) = [] of String, value : Float64 | Nil = nil, timestamp : Time = Time.utc) #

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def action : String #

def action=(action : String) #

def iteration : Int32 #

def iteration=(iteration : Int32) #

def mutators : Array(String) #

def mutators=(mutators : Array(String)) #

def timestamp : Time #

def timestamp=(timestamp : Time) #

def value : Float64 | Nil #

def value=(value : Float64 | Nil) #