Hello World

 

puts self # => main

class Demo
  puts self # => demo

  def blah
    puts self # => <Demo:0x10180f398>

    [1,2,3].each do |t|
      puts self # => <Demo:0x10180f398>
    end

  end

  class AnotherDemo
    puts self # => Demo::AnotherDemo
  end

end

Hello World

By Eugene Chang

Hello World

  • 700