Module: ToyVerbs

Defined in:
lib/toy-verbs.rb,
lib/toy-verbs/railtie.rb,
lib/toy-verbs/version.rb

Defined Under Namespace

Modules: Matcher Classes: Engine

Constant Summary collapse

VERBS =
[:get, :post, :put, :delete, :match]
VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.load!(dir_path) ⇒ Object



3
4
5
# File 'lib/toy-verbs/railtie.rb', line 3

def self.load! dir_path
  Dir[dir_path].each { |file| load file }
end