Class: SolanaRpcRuby::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/solana_rpc_ruby/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_configObject


8
9
10
# File 'lib/generators/solana_rpc_ruby/install_generator.rb', line 8

def copy_config
  template 'solana_rpc_ruby_config.rb', "#{Rails.root}/config/initializers/solana_rpc_ruby.rb"
end