Sha256: ceb9485b5921836f28c311abc8423ef95121f923208cf2df88316750073958f8

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

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

module RailsAssist::Artifact
  (RailsAssist.artifacts - [:migration, :view, :asset]).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

1 entries across 1 versions & 1 rubygems

Version Path
rails_artifactor-0.5.1 lib/rails_artifactor/artifact/file_name/artifacts.rb