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