Class: Array
Instance Method Summary collapse
Instance Method Details
#add_context(name) ⇒ Object
10 11 12 |
# File 'lib/contextualize/core_ext.rb', line 10 def add_context name self.each {|item| item.add_context name } end |
#remove_context(name) ⇒ Object
14 15 16 |
# File 'lib/contextualize/core_ext.rb', line 14 def remove_context name self.each {|item| item.remove_context name } end |