Method: V::Operations#included
- Defined in:
- lib/v/operation.rb
#included(base) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/v/operation.rb', line 9 def included(base) base.const_set :Operations, self class_path = File.join @load_path, 'operations', '**', '*' Dir[ class_path ].each { |p| require p } end |