type_annotations/basic_variables.rb

tests/_examples/type_annotations/basic_variables.rb in the metorex repository.

x = 42  # int
y = 3.14  # float
name = "Alice"  # str
is_active = true  # bool

puts "x = #{x}"
puts "y = #{y}"
puts "name = #{name}"
puts "is_active = #{is_active}"

result = x + 10  # int
puts "result = #{result}"