class SyntaxTree::YARV::OptStrUMinus


~~~
-“string”
~~~ruby
### Usage
send.
onto the stack. If the method gets overridden, this will fall back to a
`opt_str_uminus` pushes a frozen known string value with no interpolation
### Summary

def ==(other)

def ==(other)
  other.is_a?(OptStrUMinus) && other.object == object &&
    other.calldata == calldata
end

def call(vm)

def call(vm)
  vm.push(-object)
end

def deconstruct_keys(_keys)

def deconstruct_keys(_keys)
  { object: object, calldata: calldata }
end

def disasm(fmt)

def disasm(fmt)
  fmt.instruction(
    "opt_str_uminus",
    [fmt.object(object), fmt.calldata(calldata)]
  )
end

def initialize(object, calldata)

def initialize(object, calldata)
  @object = object
  @calldata = calldata
end

def length

def length
  3
end

def pushes

def pushes
  1
end

def to_a(_iseq)

def to_a(_iseq)
  [:opt_str_uminus, object, calldata.to_h]
end