mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
18 lines
301 B
Ruby
18 lines
301 B
Ruby
require 'sass/constant/literal'
|
|
|
|
module Sass::Constant # :nodoc:
|
|
class String < Literal # :nodoc:
|
|
|
|
def parse(value)
|
|
@value = value
|
|
end
|
|
|
|
def plus(other)
|
|
Sass::Constant::String.from_value(self.to_s + other.to_s)
|
|
end
|
|
|
|
def to_s
|
|
@value
|
|
end
|
|
end
|
|
end
|