Method: Eye::Application#sub_object?
- Defined in:
- lib/eye/application.rb
#sub_object?(obj) ⇒ Boolean
49 50 51 52 53 |
# File 'lib/eye/application.rb', line 49 def sub_object?(obj) res = @groups.include?(obj) res ||= @groups.any? { |gr| gr.sub_object?(obj) } res end |