Class: Pippi::Checks::SelectFollowedBySelect

Inherits:
Check
  • Object
show all
Defined in:
lib/pippi/checks/select_followed_by_select.rb

Defined Under Namespace

Modules: MyFirstSelect, MySecondSelect Classes: Documentation

Instance Attribute Summary

Attributes inherited from Check

#ctx

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

#decorateObject



25
26
27
28
29
30
31
32
33
# File 'lib/pippi/checks/select_followed_by_select.rb', line 25

def decorate
  Array.class_exec(self) do |my_check|
    @_pippi_check_select_followed_by_select = my_check
    def self._pippi_check_select_followed_by_select
      @_pippi_check_select_followed_by_select
    end
  end
  Array.prepend MyFirstSelect
end