Sha256: 62a6fb5f7a59f1a10a21dbf8f8980fb8633d5f5646050d1788ee87ddcef97ccb

Contents?: true

Size: 376 Bytes

Versions: 3

Compression:

Stored size: 376 Bytes

Contents

# pops the top item of the +:bool+ stack and the +:name+ stack;
# if the name string is not a bound variable (as opposed to a local name),
# it binds the name to the +:bool+ ValuePoint
#
# *needs:* 1 +:bool+, 1 +:name+
#
# *pushes:* nothing
#

class BoolDefineInstruction < Instruction
  include DefineInstruction
  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_define.rb
nudge-0.2.8 lib/instructions/bool/bool_define.rb
nudge-0.2.7 lib/instructions/bool/bool_define.rb