Sha256: 4eae97ee708f8b4a1ac7f7d09cc677a6ede7134eac93fc702eb96bb461196ea6

Contents?: true

Size: 145 Bytes

Versions: 1

Compression:

Stored size: 145 Bytes

Contents

module PositiveWebSupport::DateExt

  def wday_class
    if holiday?
      'holiday'
    else
      strftime( "%A" ).downcase
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
positive_web_support-0.4.2 lib/positive_web_support/date_ext.rb