Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/magic_xml.rb
Instance Method Summary collapse
Instance Method Details
#===(*args, &blk) ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/magic_xml.rb', line 22 def ===(*args, &blk) if args.size >= 1 and args[0].is_a? XML all?{|k,v| v === args[0][k]} else eqeqeq_before_magic_xml(*args, &blk) end end |
#eqeqeq_before_magic_xml ⇒ Object
21 |
# File 'lib/magic_xml.rb', line 21 alias_method :eqeqeq_before_magic_xml, :=== |