module PaintSamplesRegister411
PaintSamples registrations for theme migration (sprints 4–11). Real formatter samples live in register_real_s*.rb (loaded after progress).
Public Instance Methods
Source
# File lib/paint_samples/register_sprints_4_11.rb, line 24 def register_all register_progress end
Source
# File lib/paint_samples/register_sprints_4_11.rb, line 12 def register_progress PaintSamples.register("progress") do context = MessageProgress::ReplyContext.new( lag_ms: 120, ping_ms: 45, piece_index: 1, total_pieces: 3 ) [MessageProgress.prefix_piece("Sample body line.", percent: 50, context: context)] end end