Method: Sass::Script::Tree::Interpolation#initialize

Defined in:
lib/sass/script/tree/interpolation.rb

#initialize(before, mid, after, wb, wa, opts = {}) ⇒ Interpolation

Interpolation in a property is of the form before #{mid} after.

Parameters:

[View source]

50
51
52
53
54
55
56
57
58
59
# File 'lib/sass/script/tree/interpolation.rb', line 50

def initialize(before, mid, after, wb, wa, opts = {})
  @before = before
  @mid = mid
  @after = after
  @whitespace_before = wb
  @whitespace_after = wa
  @originally_text = opts[:originally_text] || false
  @warn_for_color = opts[:warn_for_color] || false
  @deprecation = opts[:deprecation] || :none
end