code: def add_function_def(self, name, args):
      func_def = f"def {name}({', '.join(args)})"
      self.add_code_line(func_def)
      self.increase_indent()
  
file_path: m2cgen/m2cgen/interpreters/ruby/code_generator.py
imports: from contextlib import contextmanager
  from m2cgen.interpreters.code_generator import CodeTemplate, ImperativeCodeGenerator
label_desc: Use image node_id 1 for calling the RubyCodeGenerator obj's underlying member method code with example usage: obj.add_function_def(name, args) without return types