class Gena::GenaStaticHeader

Public Class Methods

new(text) click to toggle source
# File lib/codegen/codegen.rb, line 172
def initialize(text)
  @text = text
end

Public Instance Methods

read_template_file(name) click to toggle source
# File lib/codegen/codegen.rb, line 176
    def read_template_file(name)

      if name == 'header'
        @text || '////////////////////////////////////////////////////////////////////////////////
//
//  Generated by Gena.
//
////////////////////////////////////////////////////////////////////////////////'
      else
        ''
      end
    end