Module: BrighterPlanet::Consignment::CarbonModel
- Defined in:
- lib/consignment/carbon_model.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/consignment/carbon_model.rb', line 25 def self.included(base) base.decide :emission, :with => :characteristics do ### Emission calculation # Returns the `emission` estimate (*kg CO<sub>2</sub>e*). # This is the total emission produced by the consignment venue. committee :emission do #### Default emission # **Complies:** # # Displays an error if the previous method fails. quorum 'default' do # raise "The emission committee's default quorum should never be called" 0 end end end end |