Class: Baml::Checks::Check

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/checked.rb

Instance Method Summary collapse

Constructor Details

#initialize(props) ⇒ Check

Returns a new instance of Check.



14
15
16
# File 'lib/checked.rb', line 14

def initialize(props)
  super(name: props[:name], expr: props[:expr], status: props[:status])
end