Class: RactorRailsShim::ShareabilityTraversal::Locs
- Inherits:
-
Struct
- Object
- Struct
- RactorRailsShim::ShareabilityTraversal::Locs
- Defined in:
- lib/ractor_rails_shim/roles/shareability_traversal.rb
Overview
Value object grouping the 5 LOC strings used to identify which
source file a Proc came from during proc-replacement dispatch
(Issue #39, POODR ยง4c). The configure seam accepts a single
locs: kwarg instead of 5 string kwargs; the 5 individual readers
(ssl_loc etc.) delegate to the Locs object for backward compat.
Instance Attribute Summary collapse
-
#cookie ⇒ Object
Returns the value of attribute cookie.
-
#devise_scope ⇒ Object
Returns the value of attribute devise_scope.
-
#files ⇒ Object
Returns the value of attribute files.
-
#mapper ⇒ Object
Returns the value of attribute mapper.
-
#ssl ⇒ Object
Returns the value of attribute ssl.
Class Method Summary collapse
Instance Attribute Details
#cookie ⇒ Object
Returns the value of attribute cookie
53 54 55 |
# File 'lib/ractor_rails_shim/roles/shareability_traversal.rb', line 53 def @cookie end |
#devise_scope ⇒ Object
Returns the value of attribute devise_scope
53 54 55 |
# File 'lib/ractor_rails_shim/roles/shareability_traversal.rb', line 53 def devise_scope @devise_scope end |
#files ⇒ Object
Returns the value of attribute files
53 54 55 |
# File 'lib/ractor_rails_shim/roles/shareability_traversal.rb', line 53 def files @files end |
#mapper ⇒ Object
Returns the value of attribute mapper
53 54 55 |
# File 'lib/ractor_rails_shim/roles/shareability_traversal.rb', line 53 def mapper @mapper end |
#ssl ⇒ Object
Returns the value of attribute ssl
53 54 55 |
# File 'lib/ractor_rails_shim/roles/shareability_traversal.rb', line 53 def ssl @ssl end |
Class Method Details
.default ⇒ Object
55 56 57 58 59 60 61 62 63 |
# File 'lib/ractor_rails_shim/roles/shareability_traversal.rb', line 55 def self.default new( ssl: RactorRailsShim::SSL_LOC, files: RactorRailsShim::FILES_LOC, cookie: RactorRailsShim::COOKIE_LOC, devise_scope: RactorRailsShim::DEVISE_SCOPE_LOC, mapper: RactorRailsShim::MAPPER_LOC, ) end |