Created
February 27, 2023 22:59
-
-
Save hahmed/d0e7155f17cc700dab99e44328f649f8 to your computer and use it in GitHub Desktop.
set the console to pry
This file contains hidden or 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
initializer 'myveryfirstinitializer.rb', <<-CODE | |
Rails.application.configure do | |
console do | |
require "pry" | |
config.console = Pry | |
require "awesomecompany" | |
end | |
end | |
CODE | |
gem "pry" | |
file 'app/models/awesomecompany.rb', <<-CODE | |
class Awesomecompany | |
class << self | |
def readme | |
binding.pry | |
puts "readme" | |
end | |
def pagerduty | |
end | |
def contributing | |
end | |
def help | |
end | |
end | |
end | |
CODE | |
after_bundle do | |
git :init | |
git add: "." | |
git commit: %Q{ -m 'Initial commit' } | |
end |
Author
hahmed
commented
Feb 27, 2023
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment