Sha256: a4a748f24088081d0f1c8032165e3bb2c2aed5163d5c4d06adeaaf06a6d36fba

Contents?: true

Size: 403 Bytes

Versions: 781

Compression:

Stored size: 403 Bytes

Contents

require 'sass/script/literal'

module Sass::Script
  # A SassScript object representing a boolean (true or false) value.
  class Bool < Literal
    # The Ruby value of the boolean.
    #
    # @return [Boolean]
    attr_reader :value
    alias_method :to_bool, :value

    # @return [String] "true" or "false"
    def to_s(opts = {})
      @value.to_s
    end
    alias_method :to_sass, :to_s
  end
end

Version data entries

781 entries across 494 versions & 19 rubygems

Version Path
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/sass-3.2.19/lib/sass/script/bool.rb
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.5/vendor/sass/lib/sass/script/bool.rb
classiccms-0.7.5 vendor/bundle/gems/sass-3.1.18/lib/sass/script/bool.rb
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.4/vendor/sass/lib/sass/script/bool.rb
classiccms-0.7.5 vendor/bundle/gems/sass-3.1.15/lib/sass/script/bool.rb
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/bool.rb
classiccms-0.7.5 vendor/bundle/gems/sass-3.1.17/lib/sass/script/bool.rb
classiccms-0.7.5 vendor/bundle/gems/sass-3.1.19/lib/sass/script/bool.rb
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.5/vendor/sass/lib/sass/script/bool.rb
classiccms-0.7.4 vendor/bundle/gems/sass-3.1.19/lib/sass/script/bool.rb
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/bool.rb
classiccms-0.7.4 vendor/bundle/gems/sass-3.1.18/lib/sass/script/bool.rb
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.4/vendor/sass/lib/sass/script/bool.rb
classiccms-0.7.4 vendor/bundle/gems/sass-3.1.15/lib/sass/script/bool.rb
classiccms-0.7.4 vendor/bundle/gems/sass-3.1.17/lib/sass/script/bool.rb
classiccms-0.7.3 vendor/bundle/gems/sass-3.1.18/lib/sass/script/bool.rb
classiccms-0.7.3 vendor/bundle/gems/sass-3.1.17/lib/sass/script/bool.rb
classiccms-0.7.3 vendor/bundle/gems/sass-3.1.15/lib/sass/script/bool.rb
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/bool.rb
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.5/vendor/sass/lib/sass/script/bool.rb