Class: EmptySetClass

Inherits:
NaughtClass show all
Includes:
SGML
Defined in:
lib/m500.rb

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_f, #to_i

Instance Method Details

#to_DecObject



1139
1140
1141
# File 'lib/m500.rb', line 1139

def to_Dec
  self.to_s
end

#to_FracObject



1133
1134
1135
# File 'lib/m500.rb', line 1133

def to_Frac
  self.to_s
end

#to_KObject



1145
1146
1147
# File 'lib/m500.rb', line 1145

def to_K
  self.to_s
end

#to_NObject



1124
1125
1126
# File 'lib/m500.rb', line 1124

def to_N
  self.to_s
end

#to_N0Object



1127
1128
1129
# File 'lib/m500.rb', line 1127

def to_N0
  self.to_s
end

#to_QObject



1136
1137
1138
# File 'lib/m500.rb', line 1136

def to_Q
  self.to_s
end

#to_RObject



1148
1149
1150
# File 'lib/m500.rb', line 1148

def to_R
  self.to_s
end

#to_sObject



1121
1122
1123
# File 'lib/m500.rb', line 1121

def to_s
  "\u2205".encode('utf-8')
end

#to_sgmlObject



1118
1119
1120
# File 'lib/m500.rb', line 1118

def to_sgml
  "<mn #{sgml_id}class='empty'>&empty</mn>"
end

#to_SigObject



1142
1143
1144
# File 'lib/m500.rb', line 1142

def to_Sig
  self.to_s
end

#to_ZObject



1130
1131
1132
# File 'lib/m500.rb', line 1130

def to_Z
  self.to_s
end