Method: NoSE::Schema.load
- Defined in:
- lib/nose/schema.rb
.load(name) ⇒ Object
Find the schema with the given name
14 15 16 17 18 |
# File 'lib/nose/schema.rb', line 14 def self.load(name) filename = File. "../../../schemas/#{name}.rb", __FILE__ contents = File.read(filename) binding.eval contents, filename end |