lib/informant.rb
def integer_select(method, options = {})
      options[:step] ||= 1
      choices = []; i = 0
      (options[:first]..options[:last]).each do |n|
        choices << n if i % options[:step] == 0
        i += 1
      end
      select method, choices, options
    end
def integer_select(method, options = {})
      options[:step] ||= 1
      choices = []; i = 0
      (options[:first]..options[:last]).each do |n|
        choices << n if i % options[:step] == 0
        i += 1
      end
      select method, choices, options
    end
Integer select field.
 Takes options <tt>:first</tt>, <tt>:last</tt>, and <tt>:step</tt>.