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
238 239 240 |
# File 'lib/protector/dsl.rb', line 238 def protect(&block) << block end |
#protector_meta ⇒ Object
Storage of Meta
243 244 245 |
# File 'lib/protector/dsl.rb', line 243 def ||= Meta.new end |