class

Myst::TModule

Inherits Myst::ContainerType / Myst::MutableValue / Reference / Object

Constructors

new(name : String | Nil = nil, parent : Scope | Nil = nil)
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

hash(hasher)

See Object#hash(hasher)

inspect(io : IO)

Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>
Source
scope
Source
scope=(scope : Scope)
Source
type_name
Source