Add file header; tweak comments

This commit is contained in:
Paul van Tilburg 2014-11-15 21:13:09 +01:00
parent a44fb819e6
commit de6277601b
1 changed files with 12 additions and 0 deletions

12
hued
View File

@ -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