Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Views view (find view by name)

#13

Views["some_view"] # => #<{View} name: "some_view" >

Reported by Oleg Andreev · April 27th, 2008 @ 11:09 PM

State: resolved
Milestone: 0.0.3
Assigned to: Oleg Andreev Oleg Andreev

Activity

  1. Yurii Rashkovskii
    Yurii Rashkovskii

    What about something like

    class Views
      def [](name)
        # ...
      end
    end
    

    ?

    April 27th, 2008 @ 11:12 PM

  2. Yurii Rashkovskii
    Yurii Rashkovskii

    do you mean that you want Views be a view itself? Willn't be easier to UUIDv5 views with their name and "view:" namespace?

    April 27th, 2008 @ 11:26 PM

  3. Yurii Rashkovskii
    Yurii Rashkovskii
    • State changed from new to open

    April 28th, 2008 @ 12:17 AM

  4. Yurii Rashkovskii
  5. Yurii Rashkovskii
    Yurii Rashkovskii
    • Assigned user set to Oleg Andreev

    April 28th, 2008 @ 09:17 AM

  6. Yurii Rashkovskii
    Yurii Rashkovskii
    • State changed from open to resolved

    (from [3fbc394d5cd33891b157318e7984ec3d7b8dff7e]) View#[] syntax has been implemented [#13 responsible:yrashk state:resolved]

    http://github.com/yrashk/stroked...

    April 29th, 2008 @ 07:07 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.