module Riot::RR
Enables inherent RR support in Riot. When required in, all contexts and assertions are adapted to have RR support.
Public Class Methods
enable(context_class)
click to toggle source
A convenience method for telling {Riot::RR::ContextClassOverrides} to mix itself into {Riot::Context}. Thus, enabling RR support in Riot.
@param [Class] context_class the class representing the Context to bind to
# File lib/riot/rr.rb, line 57 def self.enable(context_class) context_class.instance_eval { include Riot::RR::ContextClassOverrides } end