Class: Integer

Inherits:
Object show all
Defined in:
lib/appkernel/types.rb

Class Method Summary collapse

Class Method Details

.to_option(spec) ⇒ Object


2
3
4
# File 'lib/appkernel/types.rb', line 2

def self.to_option(spec)
  spec.to_i
end