Class: Baml::Checks::Checked

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

Constant Summary collapse

Value =
type_member

Instance Method Summary collapse

Constructor Details

#initialize(props) ⇒ Checked

Returns a new instance of Checked.



29
30
31
# File 'lib/checked.rb', line 29

def initialize(props)
  super(value: props[:value], checks: props[:checks])
end