Class: Goku::Factories::Module

Inherits:
Base
  • Object
show all
Defined in:
lib/goku/factories/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::Factories::Base

Instance Method Details

#to_sObject



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

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