Sha256: 0d6c0f834cb6f721a62b4ab3e41e46610beca4b30511d25531f809804b28ef1f
Contents?: true
Size: 349 Bytes
Versions: 22
Compression:
Stored size: 349 Bytes
Contents
require 'generators/data_mapper' module DataMapper module Generators class ObserverGenerator < Base check_class_collision :suffix => "Observer" def create_observer_file template 'observer.rb', File.join('app/models', class_path, "#{file_name}_observer.rb") end hook_for :test_framework end end end
Version data entries
22 entries across 22 versions & 3 rubygems