Module: Quantify

Defined in:
lib/quantify/quantity.rb,
lib/quantify/quantify.rb,
lib/quantify/exception.rb,
lib/quantify/unit/unit.rb,
lib/quantify/dimensions.rb,
lib/quantify/unit/si_unit.rb,
lib/quantify/unit/base_unit.rb,
lib/quantify/unit/non_si_unit.rb,
lib/quantify/unit/compound_unit.rb,
lib/quantify/unit/prefix/prefix.rb,
lib/quantify/unit/prefix/si_prefix.rb,
lib/quantify/unit/compound_base_unit.rb,
lib/quantify/unit/prefix/base_prefix.rb,
lib/quantify/unit/prefix/non_si_prefix.rb,
lib/quantify/unit/compound_base_unit_list.rb

Overview

! usr/bin/ruby

Defined Under Namespace

Modules: Exceptions, ExtendedMethods, Unit Classes: Dimensions, Quantity

Class Method Summary collapse

Class Method Details

.configure(&block) ⇒ Object



3
4
5
# File 'lib/quantify/quantify.rb', line 3

def self.configure(&block)
  self.module_eval(&block) if block
end