Class: Goku::Elements::Module

Inherits:
Base
  • Object
show all
Defined in:
lib/goku/elements/module.rb

Instance Attribute Summary

Attributes inherited from Base

#elements, #name

Instance Method Summary collapse

Methods inherited from Base

#add, #initialize

Constructor Details

This class inherits a constructor from Goku::Elements::Base

Instance Method Details

#to_sObject



5
6
7
# File 'lib/goku/elements/module.rb', line 5

def to_s
  "module #{name.camelcase}\n#{super}\nend"
end