Class: SexpAny

Inherits:
SexpMatchSpecial show all
Defined in:
lib/sexp.rb

Instance Attribute Summary

Attributes inherited from Sexp

#comments, #file, #line

Instance Method Summary collapse

Methods inherited from Sexp

#=~, #array_type?, #compact, #each_of_type, #find_and_replace_all, #find_node, #find_nodes, from_array, #gsub, #initialize, #method_missing, #pretty_print, #sexp_body, #sexp_type, #shift, #structure, #sub, #to_a, #to_s

Constructor Details

This class inherits a constructor from Sexp

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Sexp

Instance Method Details

#==(o) ⇒ Object



278
279
280
# File 'lib/sexp.rb', line 278

def ==(o)
  Sexp === o
end

#===(o) ⇒ Object



282
283
284
# File 'lib/sexp.rb', line 282

def ===(o)
  return Sexp === o
end

#inspectObject



286
287
288
# File 'lib/sexp.rb', line 286

def inspect
  "ANY"
end