Method: Hanami::Model::Associations::HasOne#scope

Defined in:
lib/hanami/model/associations/has_one.rb

#scopeObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 1.1.0



37
38
39
# File 'lib/hanami/model/associations/has_one.rb', line 37

def scope
  @scope
end