Module: AeEasy::Core::Plugin::SeederBehavior
Instance Attribute Summary
#context
Instance Method Summary
collapse
#initialize_hook_core_context_integrator, #mock_context
Instance Method Details
#enqueue(pages) ⇒ Object
8
9
10
11
|
# File 'lib/ae_easy/core/plugin/seeder_behavior.rb', line 8
def enqueue pages
pages = [pages] unless pages.is_a? Array
save_pages pages
end
|
#save(outputs) ⇒ Object
14
15
16
17
|
# File 'lib/ae_easy/core/plugin/seeder_behavior.rb', line 14
def save outputs
outputs = [outputs] unless outputs.is_a? Array
save_outputs outputs
end
|