Sha256: 34b3ee9892f7ad0aca8c4286ffeab4de26f571996d7f5f4d6e91e1dd2adf94d0

Contents?: true

Size: 211 Bytes

Versions: 4

Compression:

Stored size: 211 Bytes

Contents

require 'rid/generators/named_base'

module Rid::Generators
  class UpdateGenerator < NamedBase
    def create_update_function
      template "update.js", "updates/#{pluralized_model_name}.js"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rid-0.5.2 lib/rid/generators/update/update_generator.rb
rid-0.5.1 lib/rid/generators/update/update_generator.rb
rid-0.5.0 lib/rid/generators/update/update_generator.rb
rid-0.4.1 lib/rid/generators/update/update_generator.rb