Class: SpecForge::Step::Source
- Inherits:
-
Object
- Object
- SpecForge::Step::Source
- Defined in:
- lib/spec_forge/step/source.rb
Overview
Represents the source location of a step in a blueprint file
Tracks which file and line number a step came from, which is useful for error messages and debugging output.
Instance Method Summary collapse
-
#to_s ⇒ String
Returns a formatted string representation of the source location.
Instance Method Details
#to_s ⇒ String
Returns a formatted string representation of the source location
17 18 19 |
# File 'lib/spec_forge/step/source.rb', line 17 def to_s "#{file_name}:#{line_number}" end |