Sha256: 6623229176974320a58aaee8803329a4997c454c7ac621b92a6a911a4e8c3ffb

Contents?: true

Size: 217 Bytes

Versions: 2

Compression:

Stored size: 217 Bytes

Contents

require "json"

module Whirly
  SPINNERS = JSON.load(File.read(File.dirname(__FILE__) + "/../../data/spinners.json"))
  SPINNERS["whirly"] = { "proc" => ->(){ [0x1F600 + rand(55)].pack("U") }, "interval" => 200 }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whirly-0.1.1 lib/whirly/spinners.rb
whirly-0.1.0 lib/whirly/spinners.rb