Debian Codegraph @

lib/autoprefixer-rails/result.rb

raw symbols SCIP
1 # frozen_string_literal: true
2
3 module AutoprefixerRails
4 # Container of prefixed CSS and source map with changes
5 class Result
6 # Prefixed CSS after Autoprefixer
7 attr_reader :css
8
9 # Source map of changes
10 attr_reader :map
11
12 # Warnings from Autoprefixer
13 attr_reader :warnings
14
15 def initialize(css, map, warnings)
16 @warnings = warnings
17 @css = css
18 @map = map
19 end
20
21 # Stringify prefixed CSS
22 def to_s
23 @css
24 end
25 end
26 end