public Method

Converter.def_convert(depth=0)

There's no documentation for this item.

Source Code

# File rss/converter.rb, line 29
def def_convert(depth=0)
  instance_eval("def convert(value)\nif value.kind_of?(String)\n\#{yield('value')}\nelse\nvalue\nend\nend\n", *get_file_and_line_from_caller(depth))
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.