lib/voruby/votables/transforms.rb in voruby-1.1 vs lib/voruby/votables/transforms.rb in voruby-1.1.1

- old
+ new

@@ -205,11 +205,11 @@ mparamrefs = [mparamrefs] if !mparamrefs.respond_to?(:each) paramrefs = [] mparamrefs.each do |mparamref| paramrefs.push(ParamRef.new( - VOTABLE::VOTable::_find_attr_value(mparamref.__xmlattr, 'ref') + VOTable::_find_attr_value(mparamref.__xmlattr, 'ref') )) end paramrefs end @@ -259,13 +259,13 @@ href_txt = VOTable::_find_attr_value(mlink.__xmlattr, 'href') action_txt = VOTable::_find_attr_value(mlink.__xmlattr, 'action') content_role_txt = VOTable::_find_attr_value(mlink.__xmlattr, 'content-role') links.push(Link.new( - (href_txt == nil)? nil: VOTABLE::Type::AnyURI.new(href_txt), + (href_txt == nil)? nil: Type::AnyURI.new(href_txt), VOTable::_find_attr_value(mlink.__xmlattr, 'value'), VOTable::_find_attr_value(mlink.__xmlattr, 'title'), - (action_txt == nil)? nil: VOTABLE::Type::AnyURI.new(action_txt), + (action_txt == nil)? nil: Type::AnyURI.new(action_txt), VOTable::_find_attr_value(mlink.__xmlattr, 'ID'), VOTable::_find_attr_value(mlink.__xmlattr, 'content-type'), (content_role_txt == nil)? nil: Type::ContentRole.new(content_role_txt), VOTable::_find_attr_value(mlink.__xmlattr, 'ghref') )) \ No newline at end of file