This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ActiveRecord | |
module Querying | |
delegate :group_date, :to => :scoped | |
end | |
module QueryMethods | |
def group_date(column_name = nil, group_by = nil) | |
return self if column_name.blank? | |
# Rails uses a non standard time zone naming. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Etank < RTanque::Bot::Brain | |
NAME = 'etank' | |
include RTanque::Bot::BrainHelper | |
def tick! | |
self.switch_corners | |
self.fire | |
end | |
def fire |