Last active
October 23, 2018 02:00
-
-
Save ihollander/7aace04904b66865effa84bcc6bcc531 to your computer and use it in GitHub Desktop.
Thor step 2
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
class HeroCLI < Thor | |
desc "superhero", "Display a superhero" | |
def superhero | |
my_hero = "#{Faker::Superhero.name} #{Faker::Superhero.suffix}" | |
puts my_hero | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment