class Brauser::Definitions::Base
A class which hold a definition of a browser, a platform or a language.
@attribute [r] id
@return The id of the definition.
Attributes
id[R]
Public Instance Methods
match(_, *_, **_)
click to toggle source
Performs a match of this definition.
@return [Object|NilClass] A non falsy value if match succeeded, `false` or `nil` otherwise.
# File lib/brauser/definitions/base.rb, line 66 def match(_, *_, **_) raise "Must be overridden by a subclass." end