Class: Baykit::BayServer::Bcf::BcfParser::LineInfo
- Inherits:
-
Object
- Object
- Baykit::BayServer::Bcf::BcfParser::LineInfo
- Defined in:
- lib/baykit/bayserver/bcf/bcf_parser.rb
Instance Attribute Summary collapse
-
#indent ⇒ Object
readonly
Returns the value of attribute indent.
-
#line_obj ⇒ Object
readonly
Returns the value of attribute line_obj.
Instance Method Summary collapse
-
#initialize(line_obj, indent) ⇒ LineInfo
constructor
A new instance of LineInfo.
Constructor Details
#initialize(line_obj, indent) ⇒ LineInfo
Returns a new instance of LineInfo.
20 21 22 23 24 25 26 |
# File 'lib/baykit/bayserver/bcf/bcf_parser.rb', line 20 def initialize(line_obj, indent) if indent == nil raise RuntimeError.new("indent is nil") end @line_obj = line_obj @indent = indent end |
Instance Attribute Details
#indent ⇒ Object (readonly)
Returns the value of attribute indent.
18 19 20 |
# File 'lib/baykit/bayserver/bcf/bcf_parser.rb', line 18 def indent @indent end |
#line_obj ⇒ Object (readonly)
Returns the value of attribute line_obj.
17 18 19 |
# File 'lib/baykit/bayserver/bcf/bcf_parser.rb', line 17 def line_obj @line_obj end |