class RSS::ITunesChannelModel::ITunesOwner

公共类方法

new(*args) 点击切换源码
调用父类方法
# File rss-0.3.1/lib/rss/itunes.rb, line 219
def initialize(*args)
  if Utils.element_initialize_arguments?(args)
    super
  else
    super()
    self.itunes_name = args[0]
    self.itunes_email = args[1]
  end
end
required_prefix() 点击切换源码
# File rss-0.3.1/lib/rss/itunes.rb, line 201
def required_prefix
  ITUNES_PREFIX
end
required_uri() 点击切换源码
# File rss-0.3.1/lib/rss/itunes.rb, line 205
def required_uri
  ITUNES_URI
end

公共实例方法

full_name() 点击切换源码
# File rss-0.3.1/lib/rss/itunes.rb, line 229
def full_name
  tag_name_with_prefix(ITUNES_PREFIX)
end

私有实例方法

maker_target(target) 点击切换源码
# File rss-0.3.1/lib/rss/itunes.rb, line 234
def maker_target(target)
  target.itunes_owner
end
setup_maker_element(owner) 点击切换源码
调用父类方法
# File rss-0.3.1/lib/rss/itunes.rb, line 238
def setup_maker_element(owner)
  super(owner)
  owner.itunes_name = itunes_name
  owner.itunes_email = itunes_email
end