lib/sass/script/string.rb in haml-edge-2.1.21 vs lib/sass/script/string.rb in haml-edge-2.1.22
- old
+ new
@@ -1,9 +1,12 @@
require 'sass/script/literal'
module Sass::Script
- class String < Literal # :nodoc:
- def to_s
- @value
- end
+ # A SassScript object representing a string of text.
+ class String < Literal
+ # The Ruby value of the string.
+ #
+ # @return [String]
+ attr_reader :value
+ alias_method :to_s, :value
end
end