Class: PartyBusGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- PartyBusGenerator
- Defined in:
- lib/generators/party_bus/party_bus_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_initializer_file ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/generators/party_bus/party_bus_generator.rb', line 11 def create_initializer_file initializer "party_bus.rb" do <<-EOF PartyBus.configure do |config| config.connection_id = #{connection_id.inspect} config.secret = #{secret.inspect} end EOF end end |