class Scribble::Methods::NoFilterSelectedClass

Constants

ACTIVE_CSS_CLASS

Public Instance Methods

no_filter_selected_class() click to toggle source
# File lib/schoolkeep/scribble/methods/no_filter_selected_class.rb, line 8
def no_filter_selected_class
  ACTIVE_CSS_CLASS unless filter_parameter
end

Private Instance Methods

filter_parameter() click to toggle source
# File lib/schoolkeep/scribble/methods/no_filter_selected_class.rb, line 14
def filter_parameter
  @receiver.variables[:params].fetch(:filter, nil)
end