Class: Yuriita::Definitions::Exclusive
- Inherits:
-
Object
- Object
- Yuriita::Definitions::Exclusive
- Defined in:
- lib/yuriita/definitions/exclusive.rb
Instance Attribute Summary collapse
-
#default ⇒ Object
readonly
Returns the value of attribute default.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #apply(query:) ⇒ Object
-
#initialize(options:, default:) ⇒ Exclusive
constructor
A new instance of Exclusive.
Constructor Details
#initialize(options:, default:) ⇒ Exclusive
Returns a new instance of Exclusive.
6 7 8 9 |
# File 'lib/yuriita/definitions/exclusive.rb', line 6 def initialize(options:, default:) @options = @default = default end |
Instance Attribute Details
#default ⇒ Object (readonly)
Returns the value of attribute default.
4 5 6 |
# File 'lib/yuriita/definitions/exclusive.rb', line 4 def default @default end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/yuriita/definitions/exclusive.rb', line 4 def @options end |