Exception: Twofactor::InstallGenerator::InvalidTemplateTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- Twofactor::InstallGenerator::InvalidTemplateTypeError
- Defined in:
- lib/generators/twofactor/install_generator.rb
Instance Method Summary collapse
-
#initialize(msg = "Provide a valid template type. slim (or) haml (or) erb.") ⇒ InvalidTemplateTypeError
constructor
A new instance of InvalidTemplateTypeError.
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 |