method

batch

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: CodeGenerator
batch(owner, path, line) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/code_generator.rb, line 36
      def batch(owner, path, line)
        if owner.is_a?(CodeGenerator)
          yield owner
        else
          instance = new(owner, path, line)
          result = yield instance
          instance.execute
          result
        end
      end
Register or log in to add new notes.