1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Sass] Convert Sass::Script::Bool docs to YARD.

This commit is contained in:
Nathan Weizenbaum 2009-04-24 19:36:14 -07:00
parent 4748a2ee54
commit b2ab6f75db

View file

@ -1,13 +1,17 @@
require 'sass/script/literal' require 'sass/script/literal'
module Sass::Script module Sass::Script
class Bool < Literal # :nodoc: # 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 def to_s
@value.to_s @value.to_s
end end
def to_bool
@value
end
end end
end end