abstract struct VirtualTime::Domain

Overview

Extension point for bounding Search traversal to a set of acceptable Times. Subclass and override #contains? to restrict the search; passing domain: nil (the default) disables the check entirely.

Defined in:

virtualtime.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

abstract def contains?(time : Time) : Bool #

[View source]
def initialize #

[View source]