Class: Baykit::BayServer::Bcf::BcfParser::LineInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/baykit/bayserver/bcf/bcf_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#indentObject (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_objObject (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