Class: Exid::Record::Entry
- Inherits:
-
Data
- Object
- Data
- Exid::Record::Entry
- Defined in:
- lib/exid/record.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
readonly
Returns the value of attribute field.
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
-
#prefix ⇒ Object
readonly
Returns the value of attribute prefix.
Instance Method Summary collapse
- #==(other) ⇒ Object (also: #eql?)
- #hash ⇒ Object
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field
5 6 7 |
# File 'lib/exid/record.rb', line 5 def field @field end |
#klass ⇒ Object (readonly)
Returns the value of attribute klass
5 6 7 |
# File 'lib/exid/record.rb', line 5 def klass @klass end |
#prefix ⇒ Object (readonly)
Returns the value of attribute prefix
5 6 7 |
# File 'lib/exid/record.rb', line 5 def prefix @prefix end |
Instance Method Details
#==(other) ⇒ Object Also known as: eql?
7 |
# File 'lib/exid/record.rb', line 7 def ==(other) = prefix == other.prefix |
#hash ⇒ Object
9 |
# File 'lib/exid/record.rb', line 9 def hash = prefix.hash |