Class: ExclusiveArc::Definition

Inherits:
Object
  • Object
show all
Defined in:
lib/exclusive_arc/definition.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reflections:, options:) ⇒ Definition

Returns a new instance of Definition.



5
6
7
8
# File 'lib/exclusive_arc/definition.rb', line 5

def initialize(reflections:, options:)
  @reflections = reflections
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



3
4
5
# File 'lib/exclusive_arc/definition.rb', line 3

def options
  @options
end

#reflectionsObject (readonly)

Returns the value of attribute reflections.



3
4
5
# File 'lib/exclusive_arc/definition.rb', line 3

def reflections
  @reflections
end