class RedParse::ListInNode::ProcLiteralNode
Public Class Methods
create(arrow, lparen, params, rparen, do_word, body, endword)
click to toggle source
# File lib/redparse/node.rb, line 3467 def self.create(arrow, lparen, params, rparen, do_word, body, endword) params,other_locals=*params if SequenceNode===params new(params,other_locals,body) end
new(params, other_locals, body)
click to toggle source
# File lib/redparse/node.rb, line 3463 def initialize(params, other_locals, body) @params, @other_locals, @body= params, other_locals, body end
Public Instance Methods
unparse(o=default_parse_options)
click to toggle source
# File lib/redparse/node.rb, line 3472 def unparse o=default_parse_options huh end