Simplest possible imaginary Ruby program

Here’s a simple Ruby program.

 

Class

def method1

end

 

 

def method2

end

end

 

variable = Class.new

variable.method1

variable.method2

| Back

Footerfull