class Lucky::TextHelpers::Cycle

Defined in:

lucky/page_helpers/text_helpers.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(values : Array(String)) #

[View source]
def self.new(*values) #

[View source]

Instance Method Detail

def current_value #

[View source]
def reset #

[View source]
def to_s #
Description copied from class Object

Returns a string representation of this object.

Descendants must usually not override this method. Instead, they must override to_s(io), which must append to the given IO object.


[View source]
def values : Array(String) #

[View source]