You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ruby/README.md
+39-10Lines changed: 39 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,6 @@ This is the Ruby implementation of [referer-parser] [referer-parser], the librar
4
4
5
5
The implementation uses the shared 'database' of known referers found in [`referers.yml`][referers-yml].
6
6
7
-
**Currently the Ruby library only extracts search engine referers - it needs updating with the additional functionality now found in the Java/Scala version.**
8
-
9
7
## Installation
10
8
11
9
Add this line to your application's Gemfile:
@@ -22,20 +20,51 @@ Or install it yourself as:
22
20
23
21
## Usage
24
22
25
-
Use referer-parser like this:
23
+
### To include referer-parser:
26
24
27
25
```ruby
28
26
require'referer-parser'
27
+
```
28
+
29
+
### To create a parser
30
+
31
+
Parsers are created by default with the set of included referers but they can also be loaded from another file(s) either during or after instantiation
0 commit comments