Module: Reek::Source::SexpExtensions::YieldNode

Defined in:
lib/reek/source/sexp_extensions.rb

Instance Method Summary collapse

Instance Method Details

#arg_namesObject


303
304
305
# File 'lib/reek/source/sexp_extensions.rb', line 303

def arg_names
  args.map { |arg| arg[1] }
end

#argsObject


301
# File 'lib/reek/source/sexp_extensions.rb', line 301

def args() self[1..-1] end