class Popro::Formatter::Spinner
Public Class Methods
new(style_type = nil, bounce: false, reverse: false)
click to toggle source
Calls superclass method
Popro::Formatter::Looper::new
# File lib/popro/formatter.rb, line 162 def initialize(style_type = nil, bounce: false, reverse: false) style = STYLES[style_type] || STYLES[:slashes] style = style.reverse if reverse style += style.reverse if bounce super style end