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.0.0.2 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.0.0.1 lib/autoprefixer-rails/result.rb
autoprefixer-rails-10.0.0 lib/autoprefixer-rails/result.rb
autoprefixer-rails-9.8.6.5 lib/autoprefixer-rails/result.rb
autoprefixer-rails-9.8.6.4 lib/autoprefixer-rails/result.rb
autoprefixer-rails-9.8.6.3 lib/autoprefixer-rails/result.rb
autoprefixer-rails-9.8.6.2 lib/autoprefixer-rails/result.rb
autoprefixer-rails-9.8.6.1 lib/autoprefixer-rails/result.rb