Sha256: af2320fa09857de14b6fc2daff158d4db54122decab3e7c2bbdace2b185ac25a

Contents?: true

Size: 108 Bytes

Versions: 3

Compression:

Stored size: 108 Bytes

Contents

module Xdrgen::AST
  class OctalConstant < Constant
    def value
      text_value.to_i(8)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xdrgen-0.1.1 lib/xdrgen/ast/octal_constant.rb
xdrgen-0.1.0 lib/xdrgen/ast/octal_constant.rb
xdrgen-0.0.1 lib/xdrgen/ast/octal_constant.rb