# Namespace for OpenNebula events module Nifty::Events::Opennebula require File.join(File.dirname(__FILE__), "#{self.name.demodulize.underscore}", 'utils') require File.join(File.dirname(__FILE__), "#{self.name.demodulize.underscore}", 'event') Dir.glob(File.join(File.dirname(__FILE__), "#{self.name.demodulize.underscore}", '*.rb')) { |event_file| require event_file.chomp('.rb') } end