Sha256: 102ea0a45e4539eca8e5100ed0394f17b4fd1a8bde3e51604606b0710862290f
Contents?: true
Size: 281 Bytes
Versions: 2
Compression:
Stored size: 281 Bytes
Contents
module Rails::Assist (artifacts - [:model]).each do |name| class_eval %{ module #{name.to_s.camelize} def new_#{name}_content name, content=nil, &block new_artifact_content name, :#{name}, content, &block end end } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails3_assist-0.2.4 | lib/rails3_assist/app/methods/new_content.rb |
rails3_assist-0.2.3 | lib/rails3_assist/app/methods/new_content.rb |