Module: Optitron::ClassDsl

Included in:
CLI
Defined in:
lib/optitron/class_dsl.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(o) ⇒ Object


8
9
10
11
12
13
14
# File 'lib/optitron/class_dsl.rb', line 8

def self.included(o)
  o.class_eval "
  attr_accessor :params
  class << self;
    include ClassMethods
  end"
end