Sha256: 65b940df34b863cf2cd998fae83387f9ad8882643b8696f94669a347d1a646a4

Contents?: true

Size: 173 Bytes

Versions: 2

Compression:

Stored size: 173 Bytes

Contents

class ASTree::PrettyNode::UNLESS < ASTree::PrettyNode
  def label_name(index)
    case index
    when 1
      'then clause'
    when 2
      'else clause'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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