class Garage::Representer::Link
Attributes
block[R]
options[R]
rel[R]
Public Class Methods
new(rel, options, block)
click to toggle source
# File lib/garage/representer.rb, line 209 def initialize(rel, options, block) @rel, @options, @block = rel, options, block end
Public Instance Methods
pathify(representer)
click to toggle source
# File lib/garage/representer.rb, line 213 def pathify(representer) representer.instance_exec(&@block) end