Sha256: 752b1ed064da5755c33df93a5371b1fbee864539c2bf9c36f726cc1b6ff8e9d5
Contents?: true
Size: 365 Bytes
Versions: 32
Compression:
Stored size: 365 Bytes
Contents
require 'rails/generators/named_base' module Erb # :nodoc: module Generators # :nodoc: class Base < Rails::Generators::NamedBase #:nodoc: protected def format :html end def handler :erb end def filename_with_extensions(name) [name, format, handler].compact.join(".") end end end end
Version data entries
32 entries across 32 versions & 2 rubygems