# Abstract class to be inherited from adapter class. module Ellen module Adapters class Base include Env::Validatable class << self def inherited(child_class) Ellen::AdapterBuilder.adapter_classes << child_class end end attr_reader :robot def initialize(robot) @robot = robot validate end end end end