Class: ActiveFedora::Config::FedoraGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/active_fedora/config/fedora/fedora_generator.rb

Instance Method Summary collapse

Instance Method Details

#fcrepo_wrapper_configObject



11
12
13
14
# File 'lib/generators/active_fedora/config/fedora/fedora_generator.rb', line 11

def fcrepo_wrapper_config
  copy_file '.fcrepo_wrapper', '.fcrepo_wrapper'
  copy_file 'fcrepo_wrapper_test.yml', 'config/fcrepo_wrapper_test.yml'
end

#generateObject



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