Class: Leg::Line::Folded
Instance Attribute Summary
Attributes inherited from Leg::Line
#line_numbers, #source
Instance Method Summary
collapse
Methods inherited from Leg::Line
#blank?, #clone, #initialize
Constructor Details
This class inherits a constructor from Leg::Line
Instance Method Details
#line_number ⇒ Object
74
75
76
|
# File 'lib/leg/line.rb', line 74
def line_number
@line_numbers[0]
end
|
#to_patch(options = {}) ⇒ Object
78
79
80
|
# File 'lib/leg/line.rb', line 78
def to_patch(options = {})
raise "can't convert folded line to patch"
end
|
#type ⇒ Object
70
71
72
|
# File 'lib/leg/line.rb', line 70
def type
:folded
end
|