Method: MSpec.actions

Defined in:
lib/extensions/mspec/mspec/runner/mspec.rb

.actions(action, *args) ⇒ Object



116
117
118
119
# File 'lib/extensions/mspec/mspec/runner/mspec.rb', line 116

def self.actions(action, *args)
  actions = retrieve(action)
  actions.each { |obj| obj.send action, *args } if actions
end