Exception: Twofactor::InstallGenerator::InvalidTemplateTypeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/generators/twofactor/install_generator.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Provide a valid template type. slim (or) haml (or) erb.") ⇒ InvalidTemplateTypeError

Returns a new instance of InvalidTemplateTypeError.



21
22
23
# File 'lib/generators/twofactor/install_generator.rb', line 21

def initialize(msg = "Provide a valid template type. slim (or) haml (or) erb.")
  super(msg)
end