Class: Panelbeater::FixtureHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/panelbeater/fixture_helper.rb

Class Method Summary collapse

Class Method Details

.load(name) ⇒ Object



4
5
6
# File 'lib/panelbeater/fixture_helper.rb', line 4

def self.load(name)
  File.read( File.join(File.dirname(__FILE__),"../../test/fixtures", "#{name}.json") )
end