Class: EmptySetClass
Instance Method Summary
collapse
Methods included from SGML
#sgml_id, #tog_sgml_id
Methods inherited from NaughtClass
#*, #**, #+, #-, #/, #<=>, #coerce, #div, #is_0?, new!, #next, #succ, #to_Dec, #to_Frac, #to_N, #to_Q, #to_R, #to_Z, #to_f, #to_i
Instance Method Details
#to_s ⇒ Object
1129
1130
1131
|
# File 'lib/m500.rb', line 1129
def to_s
"\u2205".encode('utf-8')
end
|
#to_s! ⇒ Object
1126
1127
1128
|
# File 'lib/m500.rb', line 1126
def to_s!
"{}"
end
|
#to_sgml ⇒ Object
1123
1124
1125
|
# File 'lib/m500.rb', line 1123
def to_sgml
"<mn #{sgml_id}class='empty'>&empty</mn>"
end
|