class Opal::Nodes::ReturnableYieldNode

Created by ‘#returns()` for when a yield statement should return it’s value (its last in a block etc).

Public Instance Methods

compile() click to toggle source
# File lib/opal/nodes/yield.rb, line 64
def compile
  compile_call

  wrap 'return ', ';'
end