Exception: Rouge::Context::ChangeContextException

Inherits:
Exception
  • Object
show all
Defined in:
lib/rouge/context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contextObject (readonly)

Returns the value of attribute context.



10
11
12
# File 'lib/rouge/context.rb', line 10

def context
  @context
end