src/Rocketeer/Strategies/Check/RubyStrategy.php
protected function getLanguageConstraint($manifest)
    {
        preg_match('/ruby \'(.+)\'/', $manifest, $matches);
        $required = Arr::get((array) $matches, 1);

        return $required;
    }
protected function getLanguageConstraint($manifest)
    {
        preg_match('/ruby \'(.+)\'/', $manifest, $matches);
        $required = Arr::get((array) $matches, 1);

        return $required;
    }
protected function getLanguageConstraint ( $ manifest ) { preg_match ( '/ruby \'(.+)\'/' , $ manifest , $ matches ) ; $ required = Arr :: get ( ( array ) $ matches , 1 ) ; return $ required ; }
Get the version constraint which should be checked against.

@param string $manifest

@return string
Get the version constraint which should be checked against .