Sha256: d22eef059d8e690b6f589f5d9f7d329b8c51aff7dd28491457e51c6768564f2e

Contents?: true

Size: 233 Bytes

Versions: 16

Compression:

Stored size: 233 Bytes

Contents

module Hiroshimarb::Commands
  def self.load_commands
    commands_dir = File.join(File.dirname(__FILE__), "commands")
    path = File.join(commands_dir, "*.rb")
    Dir.glob(path).each do |file|
      require file
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
hiroshimarb-0.3.1 lib/hiroshimarb/commands.rb
hiroshimarb-0.3.0 lib/hiroshimarb/commands.rb
hiroshimarb-0.2.13 lib/hiroshimarb/commands.rb
hiroshimarb-0.2.12 lib/hiroshimarb/commands.rb
hiroshimarb-0.2.10 lib/hiroshimarb/commands.rb
hiroshimarb-0.2.9 lib/hiroshimarb/commands.rb
hiroshimarb-0.2.8 lib/hiroshimarb/commands.rb
hiroshimarb-0.2.7 lib/hiroshimarb/commands.rb
hiroshimarb-0.2.6 lib/hiroshimarb/commands.rb
hiroshimarb-0.2.5 lib/hiroshimarb/commands.rb
hiroshimarb-0.2.4 lib/hiroshimarb/commands.rb
hiroshimarb-0.2.3 lib/hiroshimarb/commands.rb
hiroshimarb-0.2.2 lib/hiroshimarb/commands.rb
hiroshimarb-0.2.1 lib/hiroshimarb/commands.rb
hiroshimarb-0.2.0 lib/hiroshimarb/commands.rb
hiroshimarb-0.1.4 lib/hiroshimarb/commands.rb