Module: Threeve::Fixnum

Included in:
Fixnum
Defined in:
lib/threeve/patches.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



15
16
17
18
19
20
21
# File 'lib/threeve/patches.rb', line 15

def inspect
  if self == threeve
    "threeve"
  else
    super
  end
end

#to_sObject



7
8
9
10
11
12
13
# File 'lib/threeve/patches.rb', line 7

def to_s
  if self == threeve
    "threeve"
  else
    super
  end
end