Class: CoolFaker::Base
- Inherits:
-
Object
- Object
- CoolFaker::Base
- Defined in:
- lib/cool_faker.rb
Class Method Summary collapse
Class Method Details
.dir ⇒ Object
14 15 16 |
# File 'lib/cool_faker.rb', line 14 def self.dir File.(File.dirname(__FILE__)) end |
.parse(file) ⇒ Object
10 11 12 |
# File 'lib/cool_faker.rb', line 10 def self.parse(file) YAML.load(File.open(file)) end |