Class: RSS::Maker::XMLStyleSheets::XMLStyleSheet
- Inherits:
-
Object
- Object
- RSS::Maker::XMLStyleSheets::XMLStyleSheet
show all
- Includes:
- Base
- Defined in:
- lib/rss/maker/base.rb
Instance Method Summary
collapse
Methods included from Base
append_features, #initialize
Instance Method Details
#have_required_values? ⇒ Boolean
234
235
236
|
# File 'lib/rss/maker/base.rb', line 234
def have_required_values?
@href and @type
end
|
225
226
227
228
229
230
231
232
|
# File 'lib/rss/maker/base.rb', line 225
def ()
xss = ::RSS::XMLStyleSheet.new
guess_type_if_need(xss)
set = setup_values(xss)
if set
.xml_stylesheets << xss
end
end
|