lib/fhir_models/fluentpath/expression.rb in fhir_models-1.6.8 vs lib/fhir_models/fluentpath/expression.rb in fhir_models-1.8.0

- old
+ new

@@ -1,24 +1,22 @@ module FluentPath class Expression - attr_accessor :tree def initialize(tree) @tree = tree end def to_s - "#{@tree}" + @tree.to_s end def inspect to_s end def clone - clone_tree = @tree.map{|x|x.clone rescue x} + clone_tree = @tree.map { |x| x.clone rescue x } FluentPath::Expression.new(clone_tree) end - end end