Module: DAF::Configurable

Included in:
Action, Monitor
Defined in:
lib/daf/configurable.rb

Overview

Module used for configurable objects internally adds the has_option class method that creates an option for use on Monitor and Action subclasses - it exposes the options that are present, and required types, so that parsers and UI can view them if required

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



32
33
34
# File 'lib/daf/configurable.rb', line 32

def self.included(base)
  base.send(:extend, ClassMethods)
end