class TestCustomUrlHelpers::Linkable
Attributes
id[R]
Public Class Methods
name()
click to toggle source
Calls superclass method
# File actionpack/test/dispatch/routing/custom_url_helpers_test.rb, line 9 def self.name super.demodulize end
new(id)
click to toggle source
# File actionpack/test/dispatch/routing/custom_url_helpers_test.rb, line 13 def initialize(id) @id = id end
Public Instance Methods
linkable_type()
click to toggle source
# File actionpack/test/dispatch/routing/custom_url_helpers_test.rb, line 17 def linkable_type self.class.name.underscore end