Sha256: 43454eecb504c4fe73068c8fcb865f61644acd9b956d5a8ab0db674ba7ecc2e2
Contents?: true
Size: 284 Bytes
Versions: 1
Compression:
Stored size: 284 Bytes
Contents
module Ray module Payloads class BoolPayload < Payload def initialize(bool) @bool = bool end def type "custom" end def content { content: @bool, label: "Boolean" } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-ray-0.1.0 | lib/ray/payloads/bool_payload.rb |