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, #deep_each, #each_of_type, #each_sexp, #find_and_replace_all, #find_node, #find_nodes, from_array, #gsub, #initialize, #mass, #method_missing, #pretty_print, #respond_to?, #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



309
310
311
# File 'lib/sexp.rb', line 309

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

#===(o) ⇒ Object



313
314
315
# File 'lib/sexp.rb', line 313

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

#inspectObject



317
318
319
# File 'lib/sexp.rb', line 317

def inspect
  "ANY"
end