Module: Concerned::MetaMethods

Defined in:
lib/concerned.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#my_concernsObject



15
16
17
# File 'lib/concerned.rb', line 15

def my_concerns
  @my_concerns ||= []
end

#my_shared_concernsObject



19
20
21
# File 'lib/concerned.rb', line 19

def my_shared_concerns
  @my_shared_concerns ||= []
end

Instance Method Details

#all_my_concernsObject



11
12
13
# File 'lib/concerned.rb', line 11

def all_my_concerns
  my_concerns + my_shared_concerns
end