Class: Pippi::Checks::SelectFollowedByEmpty
- Defined in:
- lib/pippi/checks/select_followed_by_empty.rb
Defined Under Namespace
Modules: MyEmpty, MySelect Classes: Documentation
Instance Attribute Summary
Attributes inherited from Check
Instance Method Summary collapse
Methods inherited from Check
#add_problem, #array_mutator_methods, #clear_fault, #clear_fault_proc, #initialize, #its_ok_watcher_proc, #method_names_that_indicate_this_is_being_used_as_a_collection
Constructor Details
This class inherits a constructor from Pippi::Checks::Check
Instance Method Details
#decorate ⇒ Object
31 32 33 34 35 36 37 38 39 |
# File 'lib/pippi/checks/select_followed_by_empty.rb', line 31 def decorate Array.class_exec(self) do |my_check| @_pippi_check_select_followed_by_empty = my_check def self._pippi_check_select_followed_by_empty @_pippi_check_select_followed_by_empty end end Array.prepend MySelect end |