Sha256: c5cec1d3cd08c2f761417b837163b9551d8b514876cd3c1fc746737e9c87d512
Contents?: true
Size: 354 Bytes
Versions: 18
Compression:
Stored size: 354 Bytes
Contents
require 'mittsu/lights/light' module Mittsu class AmbientLight < Light def initialize(color) super @type = 'AmbientLight' end def clone light = AmbientLight.new super(light) light end protected def jsonify data = super data[:color] = self.color.get_hex data end end end
Version data entries
18 entries across 18 versions & 1 rubygems