ruby

install

windows

choco install ruby

string format

name = "a"
puts "hello #{name}"

online ide

class

class A
    # construct/new etc
    def initialize()
       # instance variable
       @name="a"
    end
    def get_name()
        return @name
    end