class Bpl::AST::Attribute
Public Instance Methods
show() { |e end| ... }
click to toggle source
# File lib/bpl/ast/node.rb, line 268 def show(&blk) vs = @values.map{|e| case e when String; "\"#{e}\"" else yield e end} "{:#{@key}#{vs.empty? ? "" : " #{vs * ", "}"}}" end end