Class: Patm::Pattern::ArrRest
Instance Method Summary
collapse
#&, #[], build_from, build_from_array, build_from_hash, #compile, #opt, #opt?
Instance Method Details
#compile_internal(free_index, target_name = "_obj") ⇒ Object
309
310
311
312
313
314
315
|
# File 'lib/patm.rb', line 309
def compile_internal(free_index, target_name = "_obj")
[
nil,
[],
free_index
]
end
|
#execute(mmatch, obj) ⇒ Object
302
303
304
|
# File 'lib/patm.rb', line 302
def execute(mmatch, obj)
true
end
|
#inspect ⇒ Object
308
|
# File 'lib/patm.rb', line 308
def inspect; "..."; end
|
#rest? ⇒ Boolean
305
306
307
|
# File 'lib/patm.rb', line 305
def rest?
true
end
|