Method: Train::Options::ClassOptions#include_options
- Defined in:
- lib/train/options.rb
#include_options(other) ⇒ Object
38 39 40 41 42 43 44 |
# File 'lib/train/options.rb', line 38 def (other) unless other.respond_to?(:default_options) raise "Trying to include options from module #{other.inspect}, "\ "which doesn't seem to support options." end .merge!(other.) end |