Method: XDry::Node#method_missing

Defined in:
lib/xdry/parsing/nodes.rb

#method_missing(id, *args, &block) ⇒ Object



27
28
29
30
31
32
33
34
# File 'lib/xdry/parsing/nodes.rb', line 27

def method_missing id, *args, &block
  if id.to_s =~ /^with_(.*)$/
    send("#{$1}=", *args, &block)
    self
  else
    super(id, *args, &block)
  end
end