class PlaceOS::Triggers::State::Comparison

Defined in:

placeos-triggers/state/comparison.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(state : State, condition_key : String, system_id : String, left : Model::Trigger::Conditions::Comparison::Value, operator : Operator, right : Model::Trigger::Conditions::Comparison::Value) #

[View source]

Class Method Detail

def self.parse_model_comparison(value : Model::Trigger::Conditions::Comparison::Value) #

[View source]

Instance Method Detail

def bind!(subscriptions) : Nil #

[View source]
def compare! #

[View source]
def left : Constant #

[View source]
def left=(left : Constant) #

[View source]
def operator : Operator #

[View source]
def operator=(operator : Operator) #

[View source]
def right : Constant #

[View source]
def right=(right : Constant) #

[View source]