Class: Patm::Pattern::Any
Instance Method Summary
collapse
#&, #[], build_from, #compile, #opt, #opt?, #rest?
Instance Method Details
#compile_internal(free_index, target_name = "_obj") ⇒ Object
317
318
319
320
321
322
323
|
# File 'lib/patm.rb', line 317
def compile_internal(free_index, target_name = "_obj")
[
nil,
[],
free_index
]
end
|
#execute(match, obj) ⇒ Object
315
|
# File 'lib/patm.rb', line 315
def execute(match, obj); true; end
|
#inspect ⇒ Object
316
|
# File 'lib/patm.rb', line 316
def inspect; 'ANY'; end
|