Class: Baykit::BayServer::Bcf::BcfKeyVal

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

Instance Attribute Summary collapse

Attributes inherited from BcfObject

#file_name, #line_no

Instance Method Summary collapse

Constructor Details

#initialize(key, val, file_name, line_no) ⇒ BcfKeyVal

Returns a new instance of BcfKeyVal.



11
12
13
14
15
# File 'lib/baykit/bayserver/bcf/bcf_key_val.rb', line 11

def initialize(key, val, file_name, line_no)
  super file_name, line_no
  @key = key
  @value = val
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



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

def key
  @key
end

#valueObject (readonly)

Returns the value of attribute value.



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

def value
  @value
end