Class: StructuraidCore::DesignCodes::ACI31819::RC::Footings::MinHeight

Inherits:
Object
  • Object
show all
Includes:
Utils::CodeRequirement
Defined in:
lib/structuraid_core/design_codes/aci_318_19/rc/footings/min_height.rb

Constant Summary collapse

MIN_HEIGHT =
150
CODE_REFERENCE =
'ACI 318-19 13.3.1.2'.freeze

Instance Method Summary collapse

Methods included from Utils::CodeRequirement

included, #initialize

Instance Method Details

#callObject



13
14
15
16
17
18
19
20
21
# File 'lib/structuraid_core/design_codes/aci_318_19/rc/footings/min_height.rb', line 13

def call
  return true if bottom_rebar_effective_height >= MIN_HEIGHT

  raise RequirementNotFulfilledError.new(
    :min_height,
    "Effective Height #{bottom_rebar_effective_height} is below #{MIN_HEIGHT} mininmum",
    CODE_REFERENCE
  )
end