Class: Baykit::BayServer::Bcf::BcfKeyVal
- Defined in:
- lib/baykit/bayserver/bcf/bcf_key_val.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from BcfObject
Instance Method Summary collapse
-
#initialize(key, val, file_name, line_no) ⇒ BcfKeyVal
constructor
A new instance of BcfKeyVal.
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
#key ⇒ Object (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 |
#value ⇒ Object (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 |