Top Level Namespace

Defined Under Namespace

Modules: ActiveRecord, TagCountsExtension, TagsHelper Classes: Tag, TagHierarchyBuilder, TagList, Tagging

Instance Method Summary collapse

Instance Method Details

#reclambdaObject

FIXME move somewhere, uhm



189
190
191
192
193
194
195
196
197
198
199
200
201
# File 'lib/tag_hierarchy_builder.rb', line 189

def reclambda
  lambda do |f|
    f.call(f)
  end.call(lambda do |f|
             lambda do |this|
               lambda do |*args|
                 yield(this, *args)
               end
             end.call(lambda do |x|
                       f.call(f).call(x)
                      end)
           end)
end