Skip to content
Poignant Guide Ruby Q&A
Sections

binding-irb

1 thread tagged with this topic

Threads tagged binding-irb

  1. ✓

    How do I use irb and binding.irb to try and debug Ruby code?

    Type irb in a terminal to get a scratch pad where every line of Ruby runs the moment you finish it. To debug a real program, write binding.irb on its own line...

    Errors and debugging helpFenwick HaleStaff answer
    0replies
Poignant Guide Ruby Q&A. Questions and answers on learning Ruby and programming: syntax, blocks, objects, gems, Rails, debugging and reading the Poignant Guide.