class Person
def initialize(@name)
end
def greet
puts "Hi, I'm #{@name}"
end
end
class Employee < Person
end
employee = Employee.new "John"
employee.greet
employee.is_a?(Person)
@[Link("m")]
lib C
fun cos(value : Float64) : Float64
end
C.cos(1.5_f64)
if "Hello" =~ /hello/i
p %<world<["hello">>
end