Module: Protector::DSL::Entry::ClassMethods
- Defined in:
- lib/protector/dsl.rb
Instance Method Summary collapse
Instance Method Details
#protect(&block) ⇒ Object
148 149 150 |
# File 'lib/protector/dsl.rb', line 148 def protect(&block) (@protector_meta ||= Meta.new) << block end |