Exception: NoPrefixMapped
- Inherits:
-
StandardError
- Object
- StandardError
- NoPrefixMapped
- Defined in:
- lib/jekyll/exceptions/NoPrefixMapped.rb
Instance Attribute Summary collapse
-
#prefix ⇒ Object
Returns the value of attribute prefix.
-
#property ⇒ Object
Returns the value of attribute property.
Instance Method Summary collapse
-
#initialize(property, layout, prefix) ⇒ NoPrefixMapped
constructor
A new instance of NoPrefixMapped.
Constructor Details
#initialize(property, layout, prefix) ⇒ NoPrefixMapped
Returns a new instance of NoPrefixMapped.
3 4 5 6 |
# File 'lib/jekyll/exceptions/NoPrefixMapped.rb', line 3 def initialize property, layout, prefix @prefix, @property = prefix, property super("Their is no mapping defined for #{prefix} in context to #{property}\n in layout: '#{layout}'.") end |
Instance Attribute Details
#prefix ⇒ Object
Returns the value of attribute prefix.
2 3 4 |
# File 'lib/jekyll/exceptions/NoPrefixMapped.rb', line 2 def prefix @prefix end |
#property ⇒ Object
Returns the value of attribute property.
2 3 4 |
# File 'lib/jekyll/exceptions/NoPrefixMapped.rb', line 2 def property @property end |