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.70.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.70.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.69.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.69.0 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.68.6 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.68.5 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.68.4 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.68.3 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.68.2 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
sassc-embedded-1.68.1 vendor/github.com/sass/sassc-ruby/lib/sassc/script/value_conversion/string.rb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/sassc-2.4.0/lib/sassc/script/value_conversion/string.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/sassc-2.4.0/lib/sassc/script/value_conversion/string.rb
sassc-2.4.0-x64-mingw32 lib/sassc/script/value_conversion/string.rb
sassc-2.4.0 lib/sassc/script/value_conversion/string.rb
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/sassc-2.0.0/lib/sassc/script/value_conversion/string.rb
sassc-2.3.0-x64-mingw32 lib/sassc/script/value_conversion/string.rb
sassc-2.3.0 lib/sassc/script/value_conversion/string.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.2.1/lib/sassc/script/value_conversion/string.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value_conversion/string.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value_conversion/string.rb