Sha256: 7bc1cb0ae3726cd12de3de8a57f2adbec9f0c36171368b1c258e2773d15e34e8

Contents?: true

Size: 489 Bytes

Versions: 28

Compression:

Stored size: 489 Bytes

Contents

# frozen_string_literal: true

module AutoprefixerRails
  # Container of prefixed CSS and source map with changes
  class Result
    # Prefixed CSS after Autoprefixer
    attr_reader :css

    # Source map of changes
    attr_reader :map

    # Warnings from Autoprefixer
    attr_reader :warnings

    def initialize(css, map, warnings)
      @warnings = warnings
      @css      = css
      @map      = map
    end

    # Stringify prefixed CSS
    def to_s
      @css
    end
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
autoprefixer-rails-10.4.19.0 lib/autoprefixer-rails/result.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/autoprefixer-rails-10.4.16.0/lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.4.16.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.4.13.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.4.7.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.4.2.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.4.0.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.3.3.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.3.1.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.2.5.1 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.2.5.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.2.4.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.2.0.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.1.0.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.0.3.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.0.2.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.0.1.3 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.0.1.2 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.0.1.1 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.0.1.0 lib/autoprefixer-rails/result.rb