Created
November 11, 2020 14:47
-
-
Save kermit-klein/bbb114ef54ed3a7740ab1acaec2688b8 to your computer and use it in GitHub Desktop.
cli checkparans
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'thor' | |
require 'CheckParans' | |
module CheckParans | |
class CLI < Thor | |
desc "check_parans", "Determines if parenthesis are valid" | |
def check_parans(string) | |
puts CheckParans.valid_parentheses(string) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment