src/Ruler/Page/Page.php
public function isCurrent()
    {
        $link = $this->getLink();
        if ($link{0} == '/') {
            $link = substr($link, 1);
        }

        return request()->is($link);
    }
public function isCurrent()
    {
        $link = $this->getLink();
        if ($link{0} == '/') {
            $link = substr($link, 1);
        }

        return request()->is($link);
    }
public function isCurrent ( ) { $ link = $ this -> getLink ( ) ; if ( $ link { 0 } == '/' ) { $ link = substr ( $ link , 1 ) ; } return request ( ) -> is ( $ link ) ; }
Return TRUE if the current page is this page

@return bool
Return TRUE if the current page is this page