Module: Gardefou::GuardedClient
- Defined in:
- lib/gardefou/wrapper.rb
Overview
Mixin module to add garde-fou protection to any class
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
-
#create_guard(**options) ⇒ Object
Instance-level guard creation.
Class Method Details
.included(base) ⇒ Object
6 7 8 |
# File 'lib/gardefou/wrapper.rb', line 6 def self.included(base) base.extend(ClassMethods) end |