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



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

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