Module: Train::Options

Defined in:
lib/train/options.rb

Defined Under Namespace

Modules: ClassOptions, InstanceOptions

Class Method Summary collapse

Class Method Details

.attach(target) ⇒ Object



7
8
9
10
# File 'lib/train/options.rb', line 7

def self.attach(target)
  target.class.method(:include).call(ClassOptions)
  target.method(:include).call(InstanceOptions)
end