Module: LiveFixtures

Defined in:
lib/live_fixtures.rb,
lib/live_fixtures/version.rb

Defined Under Namespace

Modules: Export Classes: Import

Constant Summary collapse

VERSION =
"3.0.0"
MissingReferenceError =

A labeled reference was not found. Maybe the referenced model was not exported, or the insert order attempted to import the reference before the referenced model?

Class.new(KeyError)

Class Method Summary collapse

Class Method Details

.get_progress_bar(total:, title:) ⇒ Object



12
13
14
15
16
17
18
19
# File 'lib/live_fixtures.rb', line 12

def get_progress_bar total:, title:
  ProgressBar.create(
    total: total,
    title: title,
    format:'%t: |%B| %P% %E',
    throttle_rate: 0.1
  )
end