Method: Bogus::MethodStringifier#stringify
- Defined in:
- lib/bogus/method_stringifier.rb
#stringify(method, body) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/bogus/method_stringifier.rb', line 4 def stringify(method, body) <<-RUBY def #{method.name}(#{arguments_as_string(method.parameters)}) #{body} end RUBY end |