This file contains 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
# NOTE - I do not support this code anymore. | |
# You should use plambjet version @ https://gist.github.com/pjambet/5229322 | |
# | |
# Based on https://gist.github.com/1182136 and https://gist.github.com/1586384 | |
# Make the will_paginate generate markup for Zurb Foundation | |
# Put this in config/initializers/foundation_paginate.rb | |
module WillPaginate | |
module ViewHelpers | |
class LinkRenderer < LinkRendererBase | |
protected |
This file contains 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
object TestApp { | |
def main(args: Array[String]): Unit = { | |
var Es:Test = new Test(); | |
Es :* "tevi"; | |
} | |
class Test { | |
def :*(x:String) {println(x)} | |
} |