Sha256: bd8c999c0a61e40220c3f9b66542dc1927133c15ecb56c198597e0361e2e898a
Contents?: true
Size: 592 Bytes
Versions: 8
Compression:
Stored size: 592 Bytes
Contents
module Sass::Script # A SassScript object representing a null value. class Null < Literal # Creates a new null literal. def initialize super nil end # @return [Boolean] `false` (the Ruby boolean value) def to_bool false end # @return [Boolean] `true` def null? true end # @return [String] '' (An empty string) def to_s(opts = {}) '' end def to_sass(opts = {}) 'null' end # Returns a string representing a null value. # # @return [String] def inspect 'null' end end end
Version data entries
8 entries across 8 versions & 1 rubygems