Sha256: 69a5a89c09c2614c181962b2dae69cdcd44237c9106f03934b0889b1f5f87ba8

Contents?: true

Size: 209 Bytes

Versions: 3

Compression:

Stored size: 209 Bytes

Contents

module Kl
  module Primitives
    module Assignments
      def set(sym, value)
        @variables[sym] = value
        value
      end

      def value(sym)
        @variables[sym]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shen-ruby-0.3.1 lib/kl/primitives/assignments.rb
shen-ruby-0.3.0 lib/kl/primitives/assignments.rb
shen-ruby-0.2.0 lib/kl/primitives/assignments.rb