Sha256: 4bc6a7fb9ef903156e8b0064b56c09aa98ae1c85d84eb7a993a1682cd981b3f1

Contents?: true

Size: 239 Bytes

Versions: 8

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literal: true

module Roadie
  module Rails
    class DocumentBuilder
      def self.build(html, options)
        document = Document.new(html)
        options.apply_to document
        document
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
roadie-rails-3.3.0 lib/roadie/rails/document_builder.rb
roadie-rails-3.1.0 lib/roadie/rails/document_builder.rb
roadie-rails-3.0.0 lib/roadie/rails/document_builder.rb
roadie-rails-2.3.0 lib/roadie/rails/document_builder.rb
roadie-rails-2.2.0 lib/roadie/rails/document_builder.rb
roadie-rails-2.1.1 lib/roadie/rails/document_builder.rb
roadie-rails-2.1.0 lib/roadie/rails/document_builder.rb
roadie-rails-2.0.0 lib/roadie/rails/document_builder.rb