Sha256: 9631da1ab70770e88569095dccba994714fa37ca71850bfb6d8754dfedd66e33

Contents?: true

Size: 180 Bytes

Versions: 2

Compression:

Stored size: 180 Bytes

Contents

class ASTree::PrettyNode::DREGX < ASTree::PrettyNode
  def label_name(index)
    case index
    when 0
      'preceding string'
    when 2
      'tailing string'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
astree-1.1.1 lib/astree/pretty_node/dregx.rb
astree-1.1.0 lib/astree/pretty_node/dregx.rb