Module: Mwc::Utils::Option

Included in:
Options::MRuby, Options::Project
Defined in:
lib/mwc/utils/option.rb

Overview

Extend option class

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



10
11
12
13
14
15
16
17
18
19
# File 'lib/mwc/utils/option.rb', line 10

def self.included(base)
  base.class_eval do
    extend ClassMethods
    include HashAccessor

    def initialize(parent)
      @parent = parent
    end
  end
end