Skip to content

Instantly share code, notes, and snippets.

@ashgti
Created December 18, 2008 06:19
Show Gist options
  • Save ashgti/37411 to your computer and use it in GitHub Desktop.
Save ashgti/37411 to your computer and use it in GitHub Desktop.
class Application < Merb::Controller
def check(one, two, *args)
hey = 'one'
@@one = other
a = two unless one.gsub /(test|another)*?/
end
def other
@other
end
property :one, String, :hello => "Woo!" do |t|
return 'f'
end
end
Category.fix {{
:one => "yes",
:two => "H!",
}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment