class Ellen::Brains::Base
Public Class Methods
brain_classes()
click to toggle source
# File lib/ellen/brains/base.rb, line 15 def brain_classes @brain_classes ||= [] end
find_class()
click to toggle source
# File lib/ellen/brains/base.rb, line 11 def find_class brain_classes.last end
inherited(child)
click to toggle source
# File lib/ellen/brains/base.rb, line 7 def inherited(child) brain_classes << child end
new()
click to toggle source
# File lib/ellen/brains/base.rb, line 20 def initialize validate! end