Reduce view name lenght limit.

This commit is contained in:
Glenn Y. Rolland 2014-01-03 10:41:12 +01:00
parent 2d6d5b21e3
commit 9f045fb5d9

View file

@ -3,7 +3,7 @@ module Kook
class View class View
attr_reader :name, :path, :commands attr_reader :name, :path, :commands
attr_accessor :description attr_accessor :description
VIEW_NAME_MIN_SIZE = 4 VIEW_NAME_MIN_SIZE = 3
VIEW_NAME_MAX_SIZE = 12 VIEW_NAME_MAX_SIZE = 12
def initialize name, path=nil def initialize name, path=nil