Sha256: 1b7b8c70fbd88ec3b4847fc7f76948c10b8960978a5933dae5a6013909dfdb40

Contents?: true

Size: 512 Bytes

Versions: 3

Compression:

Stored size: 512 Bytes

Contents

module AeEasy
  module Core
    module Plugin
      module SeederBehavior
        include AeEasy::Core::Plugin::ContextIntegrator

        # {AeEasy::Core::Plugin::ParserBehavior#enqueue}
        def enqueue pages
          pages = [pages] unless pages.is_a? Array
          save_pages pages
        end

        # {AeEasy::Core::Plugin::ParserBehavior#save}
        def save outputs
          outputs = [outputs] unless outputs.is_a? Array
          save_outputs outputs
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ae_easy-core-0.0.5 lib/ae_easy/core/plugin/seeder_behavior.rb
ae_easy-core-0.0.4 lib/ae_easy/core/plugin/seeder_behavior.rb
ae_easy-core-0.0.3 lib/ae_easy/core/plugin/seeder_behavior.rb