Method: Evernotable::Command.load
- Defined in:
- lib/evernotable/command.rb
.load ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/evernotable/command.rb', line 11 def self.load @@commands = [] Dir[File.join(File.dirname(__FILE__), "command", "*.rb")].each do |file| require file @@commands << File.basename(file, '.*') end end |