Sha256: 436ff0d34ad941e318683e1dcb8dfd683e8da1cd0b615bb04a31adf7345cb2e9

Contents?: true

Size: 212 Bytes

Versions: 2

Compression:

Stored size: 212 Bytes

Contents

class ASTree::PrettyNode::MASGN < ASTree::PrettyNode
  def label_name(index)
    case index
    when 0
      'right hand side'
    when 1
      'left hand side'
    when 2
      'rest variable'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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