Class: Lockdown::RootContext
Instance Attribute Summary
Attributes inherited from Context
Instance Method Summary collapse
-
#initialize(name) ⇒ RootContext
constructor
A new instance of RootContext.
Methods inherited from Context
Constructor Details
#initialize(name) ⇒ RootContext
Returns a new instance of RootContext.
15 16 17 18 |
# File 'lib/lockdown/context.rb', line 15 def initialize(name) @name = name @allowed_methods = %w(with_controller and_controller to_model) end |