module FakeData
Constants
- VERSION
Public Class Methods
debug(object)
click to toggle source
# File lib/fake_data.rb, line 23 def debug object Structure.object_to_source(object) end
generator(object)
click to toggle source
# File lib/fake_data.rb, line 19 def generator object Structure.object_to_lambda(object) end
locale=(locale)
click to toggle source
# File lib/fake_data.rb, line 11 def locale=(locale) Faker::Config.locale = locale end
once(object)
click to toggle source
# File lib/fake_data.rb, line 15 def once object generator(object).call end