lib/unitwise/unit.rb in unitwise-0.2.0 vs lib/unitwise/unit.rb in unitwise-0.2.1
- old
+ new
@@ -1,8 +1,7 @@
module Unitwise
class Unit
include Unitwise::Composable
- attr_writer :terms, :expression
def initialize(input)
if input.respond_to?(:expression)
@expression = input.expression
elsif input.respond_to?(:each)
\ No newline at end of file