Module: SGML
- Included in:
- Bignum, Counting, Decimal, EmptySetClass, Fixnum, Float, Fraction, InfinityClass, Matrix, NANClass, Natural, NaughtClass, Numeric, Quotient, Rational, Zahlen
- Defined in:
- lib/m500.rb
Overview
m500.rb -
$Release Version: 0.9 $
$Revision: 1.45 $
by mark ingram
–
Instance Method Summary collapse
Instance Method Details
#sgml_id ⇒ Object
16 17 18 19 20 |
# File 'lib/m500.rb', line 16 def sgml_id ret = "" @idsgml ? ret = "id='#{self.class.to_s.downcase}#{self.object_id}' " : ret = "" ret end |
#tog_sgml_id ⇒ Object
13 14 15 |
# File 'lib/m500.rb', line 13 def tog_sgml_id @idsgml = !@idsgml end |