class ColorScheme

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/schoolkeep/fixture/stubs.rb, line 89
def initialize(*args)
  super
  to_h.each do |method_name, _|
    define_singleton_method "#{method_name}?" do
      val = send(method_name)
      val != "" && !val.nil?
    end
  end
end