class WillPaginate::Materialize::Configuration
Public Class Methods
new()
click to toggle source
# File lib/will_paginate/materialize.rb, line 8 def initialize @iconset = :material_design end
Public Instance Methods
iconset()
click to toggle source
# File lib/will_paginate/materialize.rb, line 18 def iconset @iconset end
iconset=(value)
click to toggle source
# File lib/will_paginate/materialize.rb, line 22 def iconset=(value) if self.valid_iconsets.include? value.to_sym @iconset = value.to_sym else raise "Iconset not valid. Valid options are: #{self.valid_iconsets.to_s}" end end
valid_iconsets()
click to toggle source
# File lib/will_paginate/materialize.rb, line 12 def valid_iconsets [ :material_design, :font_awesome ] end