Module: PaidUp::Unlimited

Defined in:
lib/paid_up/unlimited.rb

Class Method Summary collapse

Class Method Details

.initializeObject



3
4
5
# File 'lib/paid_up/unlimited.rb', line 3

def self.initialize
  999999999
end

.to_i(format = :default) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/paid_up/unlimited.rb', line 6

def self.to_i(format = :default)
  if format == :db
    -1
  else
    999999999
  end
end

.to_sObject



13
14
15
# File 'lib/paid_up/unlimited.rb', line 13

def self.to_s
  :unlimited.l
end