class SyntaxTree::YARV::OptNewArrayMin
~~~
[a, b, c].min
~~~ruby
### Usage
stack and pushes on the result.
is called on an array literal. It pops the values of the array off the
`opt_newarray_min` is a specialization that occurs when the ‘min` method
### Summary
def ==(other)
def ==(other) other.is_a?(OptNewArrayMin) && other.number == number end
def call(vm)
def call(vm) vm.push(vm.pop(number).min) end
def deconstruct_keys(_keys)
def deconstruct_keys(_keys) { number: number } end
def disasm(fmt)
def disasm(fmt) fmt.instruction("opt_newarray_min", [fmt.object(number)]) end
def initialize(number)
def initialize(number) @number = number end
def length
def length 2 end
def pops
def pops number end
def pushes
def pushes 1 end
def to_a(_iseq)
def to_a(_iseq) [:opt_newarray_min, number] end