Skip to content

Instantly share code, notes, and snippets.

Created May 17, 2016 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/dbf4582b67798fa19965dce54d9bfd5f to your computer and use it in GitHub Desktop.
Save anonymous/dbf4582b67798fa19965dce54d9bfd5f to your computer and use it in GitHub Desktop.
[17] pry(main)> trainSystem("6","33rd", "6", "Astor Place")
NameError: undefined local variable or method `trainLines' for main:Object
Did you mean? trainSystem
from (pry):20:in `trainSystem'
[18] pry(main)> trainSystem("6""33rd" "6" "Astor Place")
ArgumentError: wrong number of arguments (given 1, expected 4)
from (pry):18:in `trainSystem'
[19] pry(main)> trainSystem()
ArgumentError: wrong number of arguments (given 0, expected 4)
from (pry):18:in `trainSystem'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment