문제

the every method is defined as

...
def every
  per(:map)
end
...

does facets define a method for

...
    # name not relevant
def find_where
  per(:find) # or :detect
end
...

I've checked the documentation, most likely I'm just missing it

도움이 되었습니까?

해결책

actually it sort of is in their docs Using fluid notation

([1,2,3].per.map + 3) or in my case ([1,2,3].per.find == 3)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top