Sha256: 8419cad1e501427df4e20d3a41b51f5ccb8d55e045295ed6e1c51c0718e84663

Contents?: true

Size: 288 Bytes

Versions: 5

Compression:

Stored size: 288 Bytes

Contents

require 'rid/generators/named_base'

module Rid::Generators
  class ListGenerator < NamedBase
    def create_templates
      template "list.js", "lists/#{pluralized_model_name}.js"
      template "index.mustache", "lib/templates/#{pluralized_model_name}/index.mustache"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rid-0.5.2 lib/rid/generators/list/list_generator.rb
rid-0.5.1 lib/rid/generators/list/list_generator.rb
rid-0.5.0 lib/rid/generators/list/list_generator.rb
rid-0.4.1 lib/rid/generators/list/list_generator.rb
rid-0.4.0 lib/rid/generators/list/list_generator.rb