class Stylesheet::StyleSheetList
Public Class Methods
new(styles)
click to toggle source
# File lib/stylesheet/style_sheet_list.rb, line 7 def initialize(styles) @styles = styles.map {|args| CssStyleSheet.new(args) } end
Public Instance Methods
item(index)
click to toggle source
# File lib/stylesheet/style_sheet_list.rb, line 11 def item(index) @styles[index] end