If you get the html of the script tag, you can parse it using regular Ruby string methods to find the value you want.
Assuming the script tag is the first on the page, you can get the script tag's html with:
browser.script.html
#=> <script language=\"JavaScript\"><!--\ns.pageName=\"Outdoor : \"\ns.server=\"\"\ns.channel=\"\"\n//s.pageType=\"\"\ns.prop1=\"\"\ns.prop2=\"\"\ns.prop3=\"\"\ns.prop5=\"Department\"\n</script>
You could use a regular expression to find the value:
browser.script.html[/s.prop5="([^"]+)"/, 1]
#=> "Department"
Since there could be multiple script tags and script tags do not have a useful identifier, you will likely need to iterate through the script tags until the value is found:
script = browser.scripts.find { |script| script.html.include?('s.prop5') }
script.html[/s.prop5="([^"]+)"/, 1]
#=> "Department"