Sha256: e10110b85ecb681b38182bf7ba701ce0b691745ca25b151a84dd5d215ebe707e
Contents?: true
Size: 313 Bytes
Versions: 1
Compression:
Stored size: 313 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_artifactor-0.5.1 | lib/rails_artifactor/artifact/crud/create.rb |