Class: MakersToolbelt::CommandLine::GetPositiveNumber

Inherits:
Question
  • Object
show all
Defined in:
lib/makers_toolbelt/command_line/questions/get_positive_number.rb

Instance Method Summary collapse

Methods inherited from Question

call, #initialize

Constructor Details

This class inherits a constructor from MakersToolbelt::CommandLine::Question

Instance Method Details

#callObject



7
8
9
# File 'lib/makers_toolbelt/command_line/questions/get_positive_number.rb', line 7

def call
  super.to_i
end