Module: CukeModeler::Sourceable
- Included in:
- Background, Cell, Comment, DocString, Example, Feature, Outline, Row, Rule, Scenario, Step, Table, Tag
- Defined in:
- lib/cuke_modeler/sourceable.rb
Overview
NOT A PART OF THE PUBLIC API A mix-in module containing methods used by models that know from which line of source code they originate.
Instance Attribute Summary collapse
- 
  
    
      #source_line  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The line number where the element began in the source code. 
Instance Attribute Details
#source_line ⇒ Object
The line number where the element began in the source code
| 10 11 12 | # File 'lib/cuke_modeler/sourceable.rb', line 10 def source_line @source_line end |