Module: Sandwich
- Defined in:
- lib/sandwich.rb,
lib/sandwich/ext/object.rb,
lib/sandwich/model/base.rb,
lib/sandwich/helpers/base.rb,
lib/sandwich/ext/machinist.rb,
lib/sandwich/cucumber/world.rb,
lib/sandwich/helpers/amounts.rb,
lib/sandwich/model/machinist.rb,
lib/sandwich/cucumber/web_steps.rb,
lib/sandwich/model/materializer.rb,
lib/sandwich/helpers/associations.rb,
lib/sandwich/model/definition_scanner.rb
Defined Under Namespace
Modules: Amounts, Base, Ext, Helpers, Model, Object, WithinHelper, World Classes: ModelNotFoundError
Class Method Summary collapse
Class Method Details
.require_all(dir) ⇒ Object
2 3 4 5 6 |
# File 'lib/sandwich.rb', line 2 def self.require_all(dir) Dir[File.join(File.dirname(__FILE__), %W(sandwich #{dir} *))].each do |f| require "sandwich/#{dir}/#{File.basename(f, '.rb')}" end end |