Module: Burgundy::RouteHelpers
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#eql?(other) ⇒ Boolean
50 51 52 |
# File 'lib/burgundy/rails.rb', line 50 def eql?(other) other == self || item.eql?(other) end |
#routes ⇒ Object Also known as: r
54 55 56 |
# File 'lib/burgundy/rails.rb', line 54 def routes self.class.routes end |
#to_param ⇒ Object
46 47 48 |
# File 'lib/burgundy/rails.rb', line 46 def to_param item.to_param end |