Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Hir::If
Inherits
Hir
<
IrNode
<
Struct
<
Value
<
Object
Constructors
new
(location :
Location
, tests_and_bindings : ::
Array
(
Hir::TestOrBinding
))
Source
Instance methods
binding
Source
location
Source
location=
(location :
Location
)
Source
tests_and_bindings
Source
tests_and_bindings=
(tests_and_bindings : ::
Array
(
TestOrBinding
))
Source
to_s
(io :
IO
)
Same as
#inspect(io)
.
Source
type
Source