class DYI::Stylesheet::StyleReference
Attributes
href[R]
@return [String] a path of external style-sheet file
Public Class Methods
new(href, content_type='text/css', options={})
click to toggle source
Calls superclass method
DYI::Stylesheet::Style::new
# File lib/dyi/stylesheet.rb, line 72 def initialize(href, content_type='text/css', options={}) super(nil, content_type, options) @href = href end
Public Instance Methods
include_external_file?()
click to toggle source
Returns whether this script contains reference of external style-sheet file. @return [Boolean] always returns true
# File lib/dyi/stylesheet.rb, line 80 def include_external_file? true end