module Ruboty::Ume::Actions
Constants
- DEFAULT_COUNT
- DEFAULT_TEXT
Public Class Methods
normalize_count(repeat_count)
click to toggle source
# File lib/ruboty/ume/actions.rb, line 7 def normalize_count(repeat_count) return DEFAULT_COUNT if repeat_count.nil? Integer(repeat_count) end
Private Instance Methods
normalize_count(repeat_count)
click to toggle source
# File lib/ruboty/ume/actions.rb, line 7 def normalize_count(repeat_count) return DEFAULT_COUNT if repeat_count.nil? Integer(repeat_count) end