Class: Integer

Inherits:
Object show all
Defined in:
lib/core_ext/integer.rb

Instance Method Summary collapse

Instance Method Details

#is_the_meaning_of_life?Boolean

no comment required

Returns:

  • (Boolean)


3
4
5
# File 'lib/core_ext/integer.rb', line 3

def is_the_meaning_of_life?
  self == 42
end