Class: Gotenberg::Analyzers::Base
- Inherits:
-
Object
- Object
- Gotenberg::Analyzers::Base
- Defined in:
- lib/gotenberg/analyzers/base.rb
Constant Summary collapse
- URI_REGEXP =
%r{^[-a-z]+://|^(?:cid|data):|^//}
Instance Attribute Summary collapse
-
#resource ⇒ Object
Returns the value of attribute resource.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(resource) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(resource) ⇒ Base
Returns a new instance of Base.
13 14 15 |
# File 'lib/gotenberg/analyzers/base.rb', line 13 def initialize resource @resource = resource end |
Instance Attribute Details
#resource ⇒ Object
Returns the value of attribute resource.
11 12 13 |
# File 'lib/gotenberg/analyzers/base.rb', line 11 def resource @resource end |
Instance Method Details
#call ⇒ Object
17 18 19 |
# File 'lib/gotenberg/analyzers/base.rb', line 17 def call self end |