Module: Protector::DSL::Entry::ClassMethods
- Defined in:
- lib/protector/dsl.rb
Instance Method Summary collapse
-
#protect {|subject, instance| ... } ⇒ Object
Registers protection DSL block.
-
#protector_meta ⇒ Object
Storage of Meta.
Instance Method Details
#protect {|subject, instance| ... } ⇒ Object
Registers protection DSL block
269 270 271 |
# File 'lib/protector/dsl.rb', line 269 def protect(&block) << block end |