Exception: Rouge::Context::ChangeContextException
- Inherits:
-
Exception
- Object
- Exception
- Rouge::Context::ChangeContextException
- Defined in:
- lib/rouge/context.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Instance Method Summary collapse
-
#initialize(context) ⇒ ChangeContextException
constructor
A new instance of ChangeContextException.
Constructor Details
#initialize(context) ⇒ ChangeContextException
Returns a new instance of ChangeContextException.
12 13 14 |
# File 'lib/rouge/context.rb', line 12 def initialize(context) @context = context end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
10 11 12 |
# File 'lib/rouge/context.rb', line 10 def context @context end |