Class: Baykit::BayServer::Bcf::BcfObject

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

Direct Known Subclasses

BcfElement, BcfKeyVal

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file_name, line_no) ⇒ BcfObject

Returns a new instance of BcfObject.



8
9
10
11
# File 'lib/baykit/bayserver/bcf/bcf_object.rb', line 8

def initialize(file_name, line_no)
  @file_name = file_name
  @line_no = line_no
end

Instance Attribute Details

#file_nameObject (readonly)

Returns the value of attribute file_name.



5
6
7
# File 'lib/baykit/bayserver/bcf/bcf_object.rb', line 5

def file_name
  @file_name
end

#line_noObject (readonly)

Returns the value of attribute line_no.



6
7
8
# File 'lib/baykit/bayserver/bcf/bcf_object.rb', line 6

def line_no
  @line_no
end