Class: LangScan::Type::TypeInfo
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute name.
 - 
  
    
      #type  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute type.
 
Instance Method Summary collapse
- 
  
    
      #initialize(type, name)  ⇒ TypeInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TypeInfo.
 
Constructor Details
#initialize(type, name) ⇒ TypeInfo
Returns a new instance of TypeInfo.
      49 50 51 52 53  | 
    
      # File 'lib/langscan/_type.rb', line 49 def initialize(type, name) @type = type @name = name TypeRegistry[@type] = true end  |