module RubymentRubyCodeGenerationModule
# begin_documentation
This module offers function to generate ruby code
# end_documentation
Public Instance Methods
code_ruby_comment_multiline_empty()
click to toggle source
if you use vim or a similar editor, you can use such a function as: :read !./rubyment.rb invoke_double puts code_ruby_comment_multiline_empty
# File lib/rubyment.rb, line 154 def code_ruby_comment_multiline_empty code =<<-ENDHEREDOC =begin =end ENDHEREDOC [code] end
code_ruby_module_newmodule_empty()
click to toggle source
if you use vim or a similar editor, you can use such a function as: :read !./rubyment.rb invoke_double puts code_ruby_module_newmodule_empty
# File lib/rubyment.rb, line 168 def code_ruby_module_newmodule_empty code =<<-ENDHEREDOC =begin # begin_documentation # end_documentation =end module NewModule end # of NewModule ENDHEREDOC [code] end
code_rubyment_debug_puts()
click to toggle source
if you use vim or a similar editor, you can use such a function as: :read !./rubyment.rb invoke_double puts code_rubyment_debug_puts
# File lib/rubyment.rb, line 191 def code_rubyment_debug_puts code =<<-ENDHEREDOC debug && (stderr.puts "=\#{}") ENDHEREDOC [code] end