Class: Sexp::Wild
Overview
Constant Summary
Constants inherited from Sexp
Instance Attribute Summary
Attributes inherited from Sexp
#comments, #file, #line, #line_max
Instance Method Summary collapse
-
#inspect ⇒ Object
:nodoc:.
-
#pretty_print(q) ⇒ Object
:nodoc:.
-
#satisfy?(o) ⇒ Boolean
Matches any single element.
Methods inherited from Matcher
#&, #-@, #/, #=~, #>>, #greedy?, match_subs=, match_subs?, parse, #|
Methods inherited from Sexp
#/, #==, #=~, _, ___, all, any, #array_type?, atom, child, #compact, #deep_each, #depth, #each_of_type, #each_sexp, #eql?, #find_and_replace_all, #find_node, #find_nodes, from_array, #gsub, #hash, include, #initialize, k, m, #map, #mass, #method_missing, #new, not?, q, #replace_sexp, #respond_to?, s, #search_each, #sexp_body, #sexp_body=, #sexp_type, #sexp_type=, #shift, #structure, #sub, t, #to_a, #value
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
#inspect ⇒ Object
:nodoc:
548 549 550 |
# File 'lib/sexp_matcher.rb', line 548 def inspect # :nodoc: "_" end |
#pretty_print(q) ⇒ Object
:nodoc:
552 553 554 |
# File 'lib/sexp_matcher.rb', line 552 def pretty_print q # :nodoc: q.text "_" end |
#satisfy?(o) ⇒ Boolean
Matches any single element.
544 545 546 |
# File 'lib/sexp_matcher.rb', line 544 def satisfy? o true end |