module Amun::FeaturesLoader

load all files in the features directory

Public Instance Methods

load() click to toggle source
# File lib/amun/features_loader.rb, line 6
def load
  path = File.expand_path('../features', __FILE__)
  features = Dir.glob(File.join(path, '**/*'))
  features.each do |feature|
    require feature
  end
end