class TestML::Bool

Public Instance Methods

bool() click to toggle source
# File lib/testml/runtime.rb, line 451
def bool
  self
end
num() click to toggle source
# File lib/testml/runtime.rb, line 448
def num
  TestML::Num.new(@value ? 1 : 0)
end
str() click to toggle source
# File lib/testml/runtime.rb, line 445
def str
  TestML::Str.new(@value ? "1" : "")
end