Class: RDoc::Markdown::MemoEntry
- Inherits:
 - 
      Object
      
        
- Object
 - RDoc::Markdown::MemoEntry
 
 
- Defined in:
 - lib/rdoc/markdown.rb
 
Instance Attribute Summary collapse
- 
  
    
      #ans  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute ans.
 - 
  
    
      #left_rec  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute left_rec.
 - 
  
    
      #pos  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute pos.
 - 
  
    
      #result  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute result.
 - 
  
    
      #set  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute set.
 
Instance Method Summary collapse
- 
  
    
      #initialize(ans, pos)  ⇒ MemoEntry 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of MemoEntry.
 - #move!(ans, pos, result) ⇒ Object
 
Constructor Details
#initialize(ans, pos) ⇒ MemoEntry
Returns a new instance of MemoEntry.
      381 382 383 384 385 386 387  | 
    
      # File 'lib/rdoc/markdown.rb', line 381 def initialize(ans, pos) @ans = ans @pos = pos @result = nil @set = false @left_rec = false end  | 
  
Instance Attribute Details
#ans ⇒ Object (readonly)
Returns the value of attribute ans.
      389 390 391  | 
    
      # File 'lib/rdoc/markdown.rb', line 389 def ans @ans end  | 
  
#left_rec ⇒ Object
Returns the value of attribute left_rec.
      390 391 392  | 
    
      # File 'lib/rdoc/markdown.rb', line 390 def left_rec @left_rec end  | 
  
#pos ⇒ Object (readonly)
Returns the value of attribute pos.
      389 390 391  | 
    
      # File 'lib/rdoc/markdown.rb', line 389 def pos @pos end  | 
  
#result ⇒ Object (readonly)
Returns the value of attribute result.
      389 390 391  | 
    
      # File 'lib/rdoc/markdown.rb', line 389 def result @result end  | 
  
#set ⇒ Object (readonly)
Returns the value of attribute set.
      389 390 391  | 
    
      # File 'lib/rdoc/markdown.rb', line 389 def set @set end  | 
  
Instance Method Details
#move!(ans, pos, result) ⇒ Object
      392 393 394 395 396 397 398  | 
    
      # File 'lib/rdoc/markdown.rb', line 392 def move!(ans, pos, result) @ans = ans @pos = pos @result = result @set = true @left_rec = false end  |