Sha256: f93ecb0f866ba34b99d569e5a63c076745160a2138766a41f1f7cd07c051ccee

Contents?: true

Size: 224 Bytes

Versions: 21

Compression:

Stored size: 224 Bytes

Contents

class Code
  class Node
    class Base16 < Node
      def initialize(parsed)
        @base_16 = parsed
      end

      def evaluate(**args)
        ::Code::Object::Integer.new(@base_16.to_i(16))
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 3 rubygems

Version Path
template-ruby-0.5.6 lib/code/node/base_16.rb
language-ruby-0.5.6 lib/code/node/base_16.rb
code-ruby-0.5.6 lib/code/node/base_16.rb
template-ruby-0.5.5 lib/code/node/base_16.rb
language-ruby-0.5.5 lib/code/node/base_16.rb
code-ruby-0.5.5 lib/code/node/base_16.rb
template-ruby-0.5.4 lib/code/node/base_16.rb
language-ruby-0.5.4 lib/code/node/base_16.rb
code-ruby-0.5.4 lib/code/node/base_16.rb
template-ruby-0.5.3 lib/code/node/base_16.rb
language-ruby-0.5.3 lib/code/node/base_16.rb
code-ruby-0.5.3 lib/code/node/base_16.rb
template-ruby-0.5.2 lib/code/node/base_16.rb
language-ruby-0.5.2 lib/code/node/base_16.rb
code-ruby-0.5.2 lib/code/node/base_16.rb
language-ruby-0.5.1 lib/code/node/base_16.rb
template-ruby-0.5.1 lib/code/node/base_16.rb
code-ruby-0.5.1 lib/code/node/base_16.rb
template-ruby-0.5.0 lib/code/node/base_16.rb
language-ruby-0.5.0 lib/code/node/base_16.rb