Class: Baml::Checks::Check
- Inherits:
-
T::Struct
- Object
- T::Struct
- Baml::Checks::Check
- Extended by:
- T::Sig
- Defined in:
- lib/checked.rb
Instance Method Summary collapse
-
#initialize(props) ⇒ Check
constructor
A new instance of Check.
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 |