Class: Construqt::Flavour::Ciscian::Result::Lines::Line
- Inherits:
-
Object
- Object
- Construqt::Flavour::Ciscian::Result::Lines::Line
- Defined in:
- lib/construqt/flavour/ciscian/ciscian.rb
Instance Attribute Summary collapse
-
#nr ⇒ Object
readonly
Returns the value of attribute nr.
-
#to_s ⇒ Object
readonly
Returns the value of attribute to_s.
Instance Method Summary collapse
-
#initialize(str, nr) ⇒ Line
constructor
A new instance of Line.
Constructor Details
#initialize(str, nr) ⇒ Line
Returns a new instance of Line.
35 36 37 38 |
# File 'lib/construqt/flavour/ciscian/ciscian.rb', line 35 def initialize(str, nr) @to_s = str @nr = nr end |
Instance Attribute Details
#nr ⇒ Object (readonly)
Returns the value of attribute nr.
34 35 36 |
# File 'lib/construqt/flavour/ciscian/ciscian.rb', line 34 def nr @nr end |
#to_s ⇒ Object (readonly)
Returns the value of attribute to_s.
34 35 36 |
# File 'lib/construqt/flavour/ciscian/ciscian.rb', line 34 def to_s @to_s end |