Sha256: 62eea492e5b84a850350a9175d9c042b20f0383ef3799d64dddf470c1cbe745c

Contents?: true

Size: 179 Bytes

Versions: 2

Compression:

Stored size: 179 Bytes

Contents

class ASTree::PrettyNode::DSTR < 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/dstr.rb
astree-1.1.0 lib/astree/pretty_node/dstr.rb