Commits

Richo Healey  committed dc2c1c5

Add more todo

  • Participants
  • Parent commits d2e67b5

Comments (0)

Files changed (1)

File lib/twat/options.rb

     BOOL_TRUE=["yes", "true", "1", "on"]
     BOOL_FALSE=["no", "false", "0", "off"]
     BOOL_VALS = BOOL_TRUE + BOOL_FALSE
+
+    # TODO - Some meta programming to just define boolean values ala
+    # attr_accessor
+
     def self.bool_true?(val)
       BOOL_TRUE.include?(val.to_s.downcase)
     end