lib/activefacts/generate/cql/html.rb in activefacts-0.7.2 vs lib/activefacts/generate/cql/html.rb in activefacts-0.7.3

- old
+ new

@@ -70,10 +70,10 @@ [ o.length != 0 || o.scale != 0 ? o.length : nil, o.scale != 0 ? o.scale : nil ].compact parameters = parameters.length > 0 ? "("+parameters.join(",")+")" : "()" - puts "#{concept o.name} #{keyword "is defined as"} #{concept o.supertype.name + parameters }#{ + puts "#{concept o.name} #{keyword "is written as"} #{concept o.supertype.name + parameters }#{ if (o.value_restriction) keyword("restricted to")+ o.value_restriction.all_allowed_range.map{|ar| # REVISIT: Need to display as string or numeric according to type here... min = ar.value_range.minimum_bound