Method: XX::Markup::InstanceMethods#method_missing

Defined in:
lib/xx.rb,
lib/xx-2.1.0.rb

#method_missing(m, *a, &b) ⇒ Object



205
206
207
208
209
210
211
212
213
214
215
# File 'lib/xx.rb', line 205

def method_missing m, *a, &b
#--{{{
  m = m.to_s

  tag_name = m.sub! %r/_+$/, ''

  super unless tag_name 

  __ tag_name, *a, &b
#--}}}
end