Module: DataMapper::Reflection::Builders::Source::OptionBuilder
- Included in:
- Property, Relationship
- Defined in:
- lib/dm-reflection/builders/source_builder.rb
Instance Method Summary collapse
- #backend_options ⇒ Object
- #irrelevant_options ⇒ Object
- #option_priorities ⇒ Object
- #options ⇒ Object
- #prioritized_options ⇒ Object
- #rest_options ⇒ Object
Instance Method Details
#backend_options ⇒ Object
137 138 139 |
# File 'lib/dm-reflection/builders/source_builder.rb', line 137 def @backend_options ||= backend..dup end |
#irrelevant_options ⇒ Object
133 134 135 |
# File 'lib/dm-reflection/builders/source_builder.rb', line 133 def [] end |
#option_priorities ⇒ Object
121 122 123 |
# File 'lib/dm-reflection/builders/source_builder.rb', line 121 def option_priorities [] end |
#options ⇒ Object
117 118 119 |
# File 'lib/dm-reflection/builders/source_builder.rb', line 117 def option_string( + ) end |
#prioritized_options ⇒ Object
125 126 127 |
# File 'lib/dm-reflection/builders/source_builder.rb', line 125 def [] end |
#rest_options ⇒ Object
129 130 131 |
# File 'lib/dm-reflection/builders/source_builder.rb', line 129 def .select { |k,v| !option_priorities.include?(k) && !.include?(k) } end |