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
class MyGrailsViewResolver extends GrailsViewResolver { | |
@Override | |
protected View loadView(String viewName, Locale locale) { | |
new MyView(super.loadView(viewName, locale)) | |
} | |
static class MyView implements View { | |
def View view |
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
require 'active_record' | |
require 'mysql2' | |
require 'capybara' | |
require 'rspec' | |
require 'capybara/rspec' | |
include Capybara::DSL | |
Capybara.default_driver = Capybara.javascript_driver |
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
*.mp3 |
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
class BarMixin { | |
} | |
Date.mixin(BarMixin) | |
100.times { | |
println "#${it + 1}" | |
def bar = new Date() | |
bar.toString() | |
sleep 100 |
OlderNewer