Module: StructuraidCore::DesignCodes::Utils::CodeRequirement

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/structuraid_core/design_codes/utils/code_requirement.rb', line 5

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

    attr_reader :params
  end
end

Instance Method Details

#initialize(params) ⇒ Object



13
14
15
# File 'lib/structuraid_core/design_codes/utils/code_requirement.rb', line 13

def initialize(params)
  @params = params
end