class PayrolleeCz::CodeNameRefer

Attributes

code[R]
name[R]

Public Class Methods

new(code, name) click to toggle source
# File lib/payrollee_cz/core_items/code_name_refer.rb, line 5
def initialize(code, name)
  @code = code
  @name = name
end

Public Instance Methods

<=>(other) click to toggle source
# File lib/payrollee_cz/core_items/code_name_refer.rb, line 14
def <=>(other)
  @code <=> other.code
end
==(other) click to toggle source
# File lib/payrollee_cz/core_items/code_name_refer.rb, line 10
def ==(other)
  @code == other.code
end
eql?(other) click to toggle source
# File lib/payrollee_cz/core_items/code_name_refer.rb, line 18
def eql?(other)
  @code == other.code
end
hash() click to toggle source
# File lib/payrollee_cz/core_items/code_name_refer.rb, line 22
def hash
  code_int = @code.hash
end