Add file header; tweak comments
This commit is contained in:
parent
a44fb819e6
commit
de6277601b
12
hued
12
hued
|
@ -1,4 +1,14 @@
|
|||
#!/usr/bin/env ruby
|
||||
# encoding: UTF-8
|
||||
#
|
||||
# hued - Philips (friends of) hue policy daemon
|
||||
#
|
||||
# Hued is Copyright © 2011 Paul van Tilburg <paul@luon.net>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by the
|
||||
# Free Software Foundation; either version 2 of the License, or (at your
|
||||
# option) any later version.
|
||||
|
||||
require "chronic"
|
||||
require "eventmachine"
|
||||
|
@ -10,6 +20,7 @@ require "pp"
|
|||
# The main engine class
|
||||
class Hued
|
||||
|
||||
# Scenes
|
||||
Scenes = {}
|
||||
|
||||
# Program version
|
||||
|
@ -111,6 +122,7 @@ class Hued
|
|||
end
|
||||
end
|
||||
|
||||
#######
|
||||
private
|
||||
|
||||
def test_conditions
|
||||
|
|
Reference in New Issue