Class: ActiveFedora::Config::FedoraGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ActiveFedora::Config::FedoraGenerator
- Defined in:
- lib/generators/active_fedora/config/fedora/fedora_generator.rb
Instance Method Summary collapse
Instance Method Details
#fcrepo_wrapper_config ⇒ Object
11 12 13 14 |
# File 'lib/generators/active_fedora/config/fedora/fedora_generator.rb', line 11 def fcrepo_wrapper_config copy_file '.fcrepo_wrapper.yml' copy_file 'fcrepo_wrapper_test.yml', 'config/fcrepo_wrapper_test.yml' end |
#generate ⇒ Object
7 8 9 |
# File 'lib/generators/active_fedora/config/fedora/fedora_generator.rb', line 7 def generate copy_file('fedora.yml', 'config/fedora.yml') end |