Class: Goku::Elements::Method
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Goku::Elements::Base
Instance Method Details
#to_s ⇒ Object
5 6 7 |
# File 'lib/goku/elements/method.rb', line 5 def to_s "\ndef #{name}\nend\n" end |