class

Iemon::Object

Inherits Reference < Object

Macros

assign(n, t)

Assign a property. The first argument is a name of the property. The second argument is the type. The type have to be primitive or Iemon object.

Source
assigns

Assign properties for the object.

class You
  assigns(x: Int32, y: Int32)
end

You can access them like property macro.

you = You.new
you.x = 2
puts you.y
Source
assigns(props)

Assign properties for the object. See above comments for the details.

Source