Parent

Methods

Files

Class/Module Index [+]

Quicksearch

RuboCop::Cop::Style::AlignParameters

Here we check if the parameters on a multi-line method call are aligned.

Constants

MSG

Public Instance Methods

on_send(node) click to toggle source
# File lib/rubocop/cop/style/align_parameters.rb, line 13
def on_send(node)
  _receiver, method, *args = *node

  return if method == :[]=
  return if args.size <= 1

  check_alignment(args, base_column(node, args))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.