Exception: Jade::Extensions::NotAllowed
- Inherits:
-
StandardError
- Object
- StandardError
- Jade::Extensions::NotAllowed
- Defined in:
- lib/jade/extensions.rb
Instance Method Summary collapse
-
#initialize(gem_name) ⇒ NotAllowed
constructor
A new instance of NotAllowed.
Constructor Details
#initialize(gem_name) ⇒ NotAllowed
Returns a new instance of NotAllowed.
11 12 13 14 15 16 |
# File 'lib/jade/extensions.rb', line 11 def initialize(gem_name) super( "#{gem_name} may not extend the compiler; " \ "allowed: #{ALLOWED.join(', ')}" ) end |