Sha256: 449d4ac82d5b0a3404ba5ec73db8037cd2442c3f3ce183ef2d735ec1b53cda33

Contents?: true

Size: 507 Bytes

Versions: 3

Compression:

Stored size: 507 Bytes

Contents

require 'migration_assist'
require 'rails_artifactor/base/file_name'

module RailsAssist::Artifact
  (RailsAssist.artifacts - [:migration, :view]).each do |name|
    class_eval %{
      module #{name.to_s.camelize}
        module FileName
          include RailsAssist::Artifact::FileName
      
          def #{name}_file_name name, options=nil
            artifact_path name, :#{name}, options
          end        
        end

        extend FileName
        include FileName
      end
    }
  end
end  

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_artifactor-0.3.5 lib/rails_artifactor/artifact/file_name/artifacts.rb
rails_artifactor-0.3.4 lib/rails_artifactor/artifact/file_name/artifacts.rb
rails_artifactor-0.3.3 lib/rails_artifactor/artifact/file_name/artifacts.rb