Class: RSS::Maker::ItemsBase::ItemBase::SourceBase

Inherits:
Base
  • Object
show all
Includes:
SetupDefaultDate
Defined in:
lib/rss/maker/base.rb

Defined Under Namespace

Classes: IconBase, LogoBase, RightsBase, SubtitleBase, TitleBase

Constant Summary

Constants inherited from Base

Base::NEED_INITIALIZE_VARIABLES, Base::OTHER_ELEMENTS

Instance Attribute Summary

Attributes inherited from Base

#maker

Instance Method Summary collapse

Methods inherited from Base

add_need_initialize_variable, add_other_element, def_array_element, def_classed_element, def_classed_element_without_accessor, def_classed_elements, def_csv_element, def_other_element, def_other_element_without_accessor, #have_required_values?, inherited, inherited_base, #initialize, need_initialize_variables, other_elements, #variable_is_set?

Methods included from Utils::InheritedReader

#inherited_array_reader, #inherited_hash_reader, #inherited_reader

Constructor Details

This class inherits a constructor from RSS::Maker::Base

Instance Method Details

#date=(_date) ⇒ Object



820
821
822
# File 'lib/rss/maker/base.rb', line 820

def date=(_date)
  @date = _parse_date_if_needed(_date)
end

#updatedObject



824
825
826
# File 'lib/rss/maker/base.rb', line 824

def updated
  date
end

#updated=(date) ⇒ Object



828
829
830
# File 'lib/rss/maker/base.rb', line 828

def updated=(date)
  self.date = date
end