struct
Crowbar::HistoryEntry
- Crowbar::HistoryEntry
- Struct
- Value
- Object
Overview
Serializable log entry tracking session events
Included Modules
- JSON::Serializable
Defined in:
crowbar/session.crConstructors
- .new(iteration : Int32, action : String, mutators : Array(String) = [] of String, value : Float64 | Nil = nil, timestamp : Time = Time.utc)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #action : String
- #action=(action : String)
- #iteration : Int32
- #iteration=(iteration : Int32)
- #mutators : Array(String)
- #mutators=(mutators : Array(String))
- #timestamp : Time
- #timestamp=(timestamp : Time)
- #value : Float64 | Nil
- #value=(value : Float64 | Nil)
Constructor Detail
def self.new(iteration : Int32, action : String, mutators : Array(String) = [] of String, value : Float64 | Nil = nil, timestamp : Time = Time.utc)
#