class Object
Constants
- DISTRICTS
- FACTOR
- POSTS
- TIMES
- USERS
Public Instance Methods
get_id()
click to toggle source
# File extras/extras.rb, line 23 def get_id rand(99) + 1 end
test(name, &block)
click to toggle source
# File lib/friendly_id/test.rb, line 2 def test(name, &block) define_method("test_#{name.gsub(/[^a-z0-9]/i, "_")}".to_sym, &block) end
Also aliased as: should