ruby - How to use conditional to test if a block is passed? -


For example, if I want to implement a function that does some work, if any block is passed, or if it happens, then work. There is no block, how do I write conditional? # obsolete

Class = "post-text" itemprop = "text">

If I understand your question correctly, you can use the function.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

c# - Add Image in a stackpanel based on textbox input -

java - Reaching JTextField in a DocumentListener -