class AutoprefixerRails::Result

Container of prefixed CSS and source map with changes

Attributes

css[R]

Prefixed CSS after Autoprefixer

map[R]

Source map of changes

warnings[R]

Warnings from Autoprefixer

Public Class Methods

new(css, map, warnings) click to toggle source
# File lib/autoprefixer-rails/result.rb, line 13
def initialize(css, map, warnings)
  @warnings = warnings
  @css      = css
  @map      = map
end

Public Instance Methods

to_s() click to toggle source

Stringify prefixed CSS

# File lib/autoprefixer-rails/result.rb, line 20
def to_s
  @css
end