Sha256: 84c67934ded35b4cbd2ac331c6d94117c308ffe53f01429c3a2958a10e8c96ea

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

Stored size: 279 Bytes

Contents

require 'rid/generators/named_base'

module Rid::Generators
  class ShowGenerator < NamedBase
    def create_show_function
      template "show.js", "shows/#{model_name}.js"
      template "show.mustache", "lib/templates/#{pluralized_model_name}/show.mustache"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rid-0.4.0 lib/rid/generators/show/show_generator.rb