Method: NodeMutation::PrependAction#initialize
- Defined in:
- lib/node_mutation/action/prepend_action.rb
#initialize(node, code, adapter:) ⇒ PrependAction
Initialize an PrependAction.
10 11 12 13 |
# File 'lib/node_mutation/action/prepend_action.rb', line 10 def initialize(node, code, adapter:) super(node, code, adapter: adapter) @type = :insert end |