mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9b52ae2e64
commit
287a34ae0d
856 changed files with 13989 additions and 13989 deletions
|
@ -24,7 +24,7 @@ module RSS
|
|||
|
||||
module TaxonomyTopicsModel
|
||||
extend BaseModel
|
||||
|
||||
|
||||
def self.append_features(klass)
|
||||
super
|
||||
|
||||
|
@ -37,21 +37,21 @@ module RSS
|
|||
|
||||
class TaxonomyTopics < Element
|
||||
include RSS10
|
||||
|
||||
|
||||
Bag = ::RSS::RDF::Bag
|
||||
|
||||
class << self
|
||||
def required_prefix
|
||||
TAXO_PREFIX
|
||||
end
|
||||
|
||||
|
||||
def required_uri
|
||||
TAXO_URI
|
||||
end
|
||||
end
|
||||
|
||||
@tag_name = "topics"
|
||||
|
||||
|
||||
install_have_child_element("Bag", RDF::URI, nil)
|
||||
install_must_call_validator('rdf', RDF::URI)
|
||||
|
||||
|
@ -84,10 +84,10 @@ module RSS
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
module TaxonomyTopicModel
|
||||
extend BaseModel
|
||||
|
||||
|
||||
def self.append_features(klass)
|
||||
super
|
||||
var_name = "#{TAXO_PREFIX}_topic"
|
||||
|
@ -99,12 +99,12 @@ module RSS
|
|||
|
||||
include DublinCoreModel
|
||||
include TaxonomyTopicsModel
|
||||
|
||||
|
||||
class << self
|
||||
def required_prefix
|
||||
TAXO_PREFIX
|
||||
end
|
||||
|
||||
|
||||
def required_uri
|
||||
TAXO_URI
|
||||
end
|
||||
|
@ -115,7 +115,7 @@ module RSS
|
|||
install_get_attribute("about", ::RSS::RDF::URI, true, nil, nil,
|
||||
"#{RDF::PREFIX}:about")
|
||||
install_text_element("link", TAXO_URI, "?", "#{TAXO_PREFIX}_link")
|
||||
|
||||
|
||||
def initialize(*args)
|
||||
if Utils.element_initialize_arguments?(args)
|
||||
super
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue