Use empty options hash by default

This commit is contained in:
Rémi Prévost 2011-10-08 10:37:53 -04:00
parent e6b5f04396
commit 208e3a2263

View File

@ -6,7 +6,7 @@ module Teamocil
# #
# @param layout [Hash] the parsed layout # @param layout [Hash] the parsed layout
# @param options [Hash] some options # @param options [Hash] some options
def initialize(layout, options) # {{{ def initialize(layout, options={}) # {{{
@layout = layout @layout = layout
@options = options @options = options
end # }}} end # }}}