Sha256: 540251018ea983f403527fc08613b1359c55d99dc7278e0b54f136b8149abfab

Contents?: true

Size: 371 Bytes

Versions: 90

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

module SassC
  module Script
    module ValueConversion
      class String < Base
        def to_native(opts = {})
          if opts[:quote] == :none || @value.type == :identifier
            Native::make_string(@value.to_s)
          else
            Native::make_qstring(@value.to_s)
          end
        end
      end
    end
  end
end

Version data entries

90 entries across 75 versions & 6 rubygems

Version Path
sassc-embedded-1.80.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.80.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.79.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.78.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/sassc-2.4.0/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.77.8 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.77.7 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.77.6 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.77.5 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.77.4 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.77.3 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.77.2 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.77.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.77.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.76.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.75.2 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.75.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.75.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.74.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.74.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb