Module: Unity::Dimension::Integer

Extended by:
ActiveSupport::Concern
Included in:
Comparison, SimpleUnit
Defined in:
lib/unity/dimension/integer.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#dimension_intObject



14
15
16
# File 'lib/unity/dimension/integer.rb', line 14

def dimension_int
  generate_dimension_integer
end

#propertyObject



22
23
24
# File 'lib/unity/dimension/integer.rb', line 22

def property
  Lookup.find_property(dimension_int)
end

#property_nameObject



18
19
20
# File 'lib/unity/dimension/integer.rb', line 18

def property_name
  property.nil? ? nil : property.name
end