class ArelExtensions::Nodes::Wday

Public Class Methods

new(other, aliaz = nil) click to toggle source
Calls superclass method
# File lib/arel_extensions/nodes/wday.rb, line 4
def initialize other, aliaz = nil
  tab = Array.new
  tab << other
  super(tab, aliaz)
end

Public Instance Methods

date() click to toggle source
# File lib/arel_extensions/nodes/wday.rb, line 10
def date
  @expressions.first
end