Skip to content

Commit

Permalink
Again, specify global namespace for File so that other modules don'…
Browse files Browse the repository at this point in the history
…t trip us up. Refs #30
  • Loading branch information
mjgiarlo authored Aug 2, 2016
1 parent 3234a2b commit 3c4fd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/active_fedora/noid/seed_generator.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module ActiveFedora
module Noid
class SeedGenerator < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
source_root ::File.expand_path('../templates', __FILE__)
argument :namespace, :type => :string, :default => ActiveFedora::Noid.config.namespace
argument :template, :type => :string, :default => ActiveFedora::Noid.config.template

Expand Down

0 comments on commit 3c4fd9d

Please sign in to comment.