Sha256: 342367f113d85c266ff583fe1f9f877e17d28a5be4b0294a446ac260257eb869
Contents?: true
Size: 322 Bytes
Versions: 6
Compression:
Stored size: 322 Bytes
Contents
module RailsAssist::Artifact RailsAssist.artifacts.each do |name| plural_name = name.to_s.pluralize class_eval %{ module #{name.to_s.camelize} def create_#{name} name, options={}, &block create_artifact(name, set(options, :#{name}), &block) end end } end end
Version data entries
6 entries across 6 versions & 1 rubygems