Sha256: 83fdf84dfc2634c28727cb128a22001cd56b93d392020ceb6875e0dca140e5f2

Contents?: true

Size: 252 Bytes

Versions: 3

Compression:

Stored size: 252 Bytes

Contents

# makes and pushes a clone of the top item on the +:bool+ stack
#
# *needs:* 1 +:bool+
#
# *pushes:* 1 +:bool+
#

class BoolDuplicateInstruction < Instruction
  include DuplicateInstruction
  def initialize(context)
    super(context, :bool)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nudge-0.2.9 lib/instructions/bool/bool_duplicate.rb
nudge-0.2.8 lib/instructions/bool/bool_duplicate.rb
nudge-0.2.7 lib/instructions/bool/bool_duplicate.rb