class Brainclusterfuck::Opcodes::LoopPlaceholder

Public Class Methods

new() click to toggle source
# File lib/brainclusterfuck/opcodes/loop_placeholder.rb, line 7
def initialize
  @cycles = 1
end

Public Instance Methods

==(other) click to toggle source
# File lib/brainclusterfuck/opcodes/loop_placeholder.rb, line 15
def ==(other)
  other.class == self.class
end
unresolve_loop() click to toggle source
# File lib/brainclusterfuck/opcodes/loop_placeholder.rb, line 11
def unresolve_loop
  raise LoopError, "Already unresolved"
end