Sha256: 57004205d391d86e0cf924e7f1d2599e0562ef53aec1423e7d9d73ad050b5889

Contents?: true

Size: 196 Bytes

Versions: 5

Compression:

Stored size: 196 Bytes

Contents

require 'couch/generators/named_base'

module Couch::Generators
  class ShowGenerator < NamedBase
    def create_show_function
      template "show.js", "shows/#{model_name}.js"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
couch-0.2.0 lib/couch/generators/show/show_generator.rb
couch-0.1.2 lib/couch/generators/show/show_generator.rb
couch-0.1.1 lib/couch/generators/show/show_generator.rb
couch-0.1.0 lib/couch/generators/show/show_generator.rb
couch-0.0.4 lib/couch/generators/show/show_generator.rb