Class: RubySimpleParser::GlobalContext

Inherits:
Block
  • Object
show all
Defined in:
lib/generators/brain_damage/lib/ruby_simple_parser/global_context.rb

Instance Attribute Summary

Attributes inherited from Block

#lines, #name, #parent

Instance Method Summary collapse

Methods inherited from Block

#add_line, #print

Constructor Details

#initializeGlobalContext

Returns a new instance of GlobalContext.



3
4
5
6
# File 'lib/generators/brain_damage/lib/ruby_simple_parser/global_context.rb', line 3

def initialize
  super(nil, nil)
  @name = 'Global'
end