Updated

lib/automation_object/blue_print/composite / base.rb

A
20 lines of codes
1 methods
1.0 complexity/method
7 loc/method
1 complexity
0 duplications
# frozen_string_literal: true require_relative '../../../../lib/automation_object/helpers/composite' module AutomationObject module BluePrint module Composite # This composite namespace is the interface contract for the rest of the application to rely on # Adapters should implement the same classes and methods as the composite to achieve reliability # with the rest of the application class Base attr_accessor :adapter
  1. AutomationObject::BluePrint::Composite::Base#adapter is a writable attribute
def initialize(adapter_object) self.adapter = adapter_object end end end end end