lib/eye/dsl.rb in reel-eye-0.5 vs lib/eye/dsl.rb in reel-eye-0.5.1

- old
+ new

@@ -39,9 +39,13 @@ end def parse_apps(*args) parse(*args).applications end + + def check_name(name) + raise Error, "not allow ':' in name '#{name}'" if name.to_s.include?(':') + end end end # extend here global module Eye.send(:extend, Eye::Dsl::Main)