Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/magic_xml.rb
Overview
FIXME: Make comment formatting RDoc-friendly. It’s not always so now.
Instance Method Summary collapse
Instance Method Details
#===(*args, &blk) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/magic_xml.rb', line 11 def ===(*args, &blk) if args.size >= 1 and args[0].is_a? XML self == args[0].name else eqeqeq_before_magic_xml(*args, &blk) end end |
#eqeqeq_before_magic_xml ⇒ Object
10 |
# File 'lib/magic_xml.rb', line 10 alias_method :eqeqeq_before_magic_xml, :=== |