blob: aa824499acef74560cf9b569b64a6ffde4e50029 (
plain) (
tree)
|
|
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
|