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
302
303
304
305
306
307
308
|
# File 'lib/patm.rb', line 302
def compile_internal(free_index, target_name = "_obj")
[
nil,
[],
free_index
]
end
|
#execute(match, obj) ⇒ Object
300
|
# File 'lib/patm.rb', line 300
def execute(match, obj); true; end
|
#inspect ⇒ Object
301
|
# File 'lib/patm.rb', line 301
def inspect; 'ANY'; end
|