Here's what I did to get things working.
Yep, over at: https://developer.apple.com
require 'rubygems' | |
require 'active_support/all' | |
class MyEngine < Object | |
class Configuration | |
include ActiveSupport::Configurable | |
def self.method_missing(meth, *args) | |
self.config.send meth, *args | |
end | |
end |
all_hypos = [ | |
[ "have perpetual cheese-breath", "sweat chocolate" ], | |
[ "be forced to eat blood for one year", "eat bugs for the rest of your life" ], | |
[ "always smell of poop", "look like a reptile" ] | |
] |
(1..100).each { |i|s='';s+='Fizz'if i%3==0;s+='Buzz'if i%5==0;puts s==''?i:s } |
Here's what I did to get things working.
Yep, over at: https://developer.apple.com
class MyController < ApplicationController | |
helper_method :do_something | |
# ... | |
protected | |
def do_something | |
# ... | |
end |
I hereby claim:
To claim this, I am signing this object: