class FortuneTeller::TransformBase
Provides base functionality to inheriting transform classes
Attributes
date[R]
holder[R]
Public Class Methods
new(date:, holder:)
click to toggle source
# File lib/fortuneteller/transform_base.rb, line 5 def initialize(date:, holder:) @date = date @holder = holder end
Public Instance Methods
<=>(other)
click to toggle source
# File lib/fortuneteller/transform_base.rb, line 10 def <=>(other) date <=> other.date end