In Ruby it's traditional to add setters like this:

def broadcast=(val)
      @j_del.setReceiveBufferSize(val)
      self
    end

Take a look at the current API (e.g. TCP support) for more info