Sha256: cc1e41e8a9dfd5a907637ff2a1602dc926e1e7dfb1723ccb17adbbbb321145ba

Contents?: true

Size: 364 Bytes

Versions: 4

Compression:

Stored size: 364 Bytes

Contents

require "rails/generators/erb/mailer/mailer_generator"

module Markerb
  module Generators
    class MailerGenerator < Erb::Generators::MailerGenerator
      source_root File.expand_path("../templates", __FILE__)

      protected

      def format
        nil # Our templates have no format
      end

      def handler
        :markerb
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
markerb-1.0.1 lib/generators/markerb/mailer/mailer_generator.rb
markerb-1.0.0 lib/generators/markerb/mailer/mailer_generator.rb
markerb-pure-0.1.0 lib/generators/markerb/mailer/mailer_generator.rb
markerb-0.1.0 lib/generators/markerb/mailer/mailer_generator.rb